You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code exists to avoid that one can write stacker.news which looks like it's a link to stacker.news but it's actually not (this works on Github too though).
Description
This code exists to avoid that one can write stacker.news which looks like it's a link to stacker.news but it's actually not (this works on Github too though).
stacker.news/components/text.js
Lines 181 to 189 in 36e9f3f
Steps to Reproduce
[stacker.news](https://www.youtube.com/watch?v=dQw4w9WgXcQ)
Expected behavior
It should refuse to use the text chosen by the user if it looks like it's pretending to be another link
Logs
If applicable, add your browsers console logs.
Environment:
If you only experience the issue on certain devices or browsers, provide that info.
Additional context
https://stacker.news/items/682259
Maybe we shouldn't attempt to stop this since Github also doesn't? So mark as
wontfix
?The text was updated successfully, but these errors were encountered: