mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Fix links in posts always having noreferrer in glitch flavor (#3135)
Fixes #3128
This commit is contained in:
@@ -190,7 +190,7 @@ class StatusContent extends PureComponent {
|
|||||||
link.classList.add('unhandled-link');
|
link.classList.add('unhandled-link');
|
||||||
|
|
||||||
link.setAttribute('target', '_blank');
|
link.setAttribute('target', '_blank');
|
||||||
link.setAttribute('rel', 'noopener nofollow noreferrer');
|
link.setAttribute('rel', 'noopener nofollow');
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (tagLinks && isLinkMisleading(link)) {
|
if (tagLinks && isLinkMisleading(link)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user