mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-24 14:17:08 +00:00
Fix nofollow
rel being removed in web UI (#19455)
This commit is contained in:
parent
30453fab80
commit
9757c917da
|
@ -61,9 +61,6 @@ class StatusContent extends React.PureComponent {
|
||||||
link.setAttribute('title', link.href);
|
link.setAttribute('title', link.href);
|
||||||
link.classList.add('unhandled-link');
|
link.classList.add('unhandled-link');
|
||||||
}
|
}
|
||||||
|
|
||||||
link.setAttribute('target', '_blank');
|
|
||||||
link.setAttribute('rel', 'noopener noreferrer');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.props.status.get('collapsed', null) === null) {
|
if (this.props.status.get('collapsed', null) === null) {
|
||||||
|
|
Loading…
Reference in a new issue