mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02: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 New Issue
Block a user