Fix `nofollow` rel being removed in web UI (#19455)

local
Eugen Rochko 2 years ago committed by GitHub
parent 30453fab80
commit 9757c917da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/javascript/mastodon/components/status_content.js

@ -61,9 +61,6 @@ class StatusContent extends React.PureComponent {
link.setAttribute('title', link.href);
link.classList.add('unhandled-link');
}
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
}
if (this.props.status.get('collapsed', null) === null) {

Loading…
Cancel
Save