-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Links in status messages not clickable but coincidentally contained Träwelling usernames clickable #2661
Comments
I'm not sure if I would really call that a “bug”. I wouldn't link external links. However, the internal mention could perhaps be limited to the extent that it is only a mention if there are no other characters before or after. |
I definitely see your point. Only evaluating a mention without non-space characters before and after it could lead in false negatives, for example in comma separated lists (as in Feel free to remove the „bug“ label. It was added automatically after I had to choose between creating an issue or a discussion by the forced templates. |
Describe the bug
After posting a status message with a link to one of my own Mastodon posts [1], I noticed that the link was not clickable. My Mastodon username contained in the link is the same as my Träwelling username – and it turns out to be clickable with my Träwelling profile as the link target.
My expectation would be that text parts of status messages that can be parsed as valid URLs would be rendered as clickable links and they would be evaluated with higher priority than substrings.
[1] My status message including my clickable username and the unclickable link
Steps to reproduce
Browser console logs
No response
Browser
No response
The text was updated successfully, but these errors were encountered: