Start a new topic

Things that look like e-mail addresses become mailto: links even when they are already other links

I noticed this when I put a Mastodon @ in a post; it also happens in the bio field on my profile:

If you put something that looks like an e-mail address (let's say in a post or bio wrapped in an <a href>, the logic that turns e-mail addresses into mailto: links will overrule the <a> tag.

I'd say that if it's already part of a link, that should take precedence.

Login or Signup to post a comment