When clicking on a link in user-generated markup, if the display text is formatted by a URL but that text does not match the underlying URL, the user should be notified of the mismatch (with the option to either cancel or continue to the link)
Motivation
Eg, if a link leads to google.com but the link text is eternagame.org, this could be used to intentionally mislead users.
Describe your idea
When clicking on a link in user-generated markup, if the display text is formatted by a URL but that text does not match the underlying URL, the user should be notified of the mismatch (with the option to either cancel or continue to the link)
Motivation
Eg, if a link leads to google.com but the link text is eternagame.org, this could be used to intentionally mislead users.
Proposed Solution
We should be able to implement this via dompurify
Other Information
No response