Skip to content

unwrap links without an href

username-removed-28993 requested to merge bugfix/html-email-brackets into master

What does this MR do?

Fixes #27645 (closed) by unwrapping links with a blank href, which can be added by outlook.

Are there points in the code the reviewer needs to double check?

I believe it makes sense for us to do this within Gitlab, since it's specific to email. For the rich-text example, Html2Text can do a better job of not creating empty links, but for the client's later example, the entirety of the content is wrapped in a link, so there's not much to be done generically.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by username-removed-28993

Merge request reports