New: Add rel="noreferrer" to all external links

This commit is contained in:
Mark McDowall 2021-05-10 20:33:34 -07:00
parent 05bee7c37a
commit c722e91124
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ class Link extends Component {
el = 'a';
linkProps.href = to;
linkProps.target = target || '_blank';
linkProps.rel='noreferrer';
} else if (noRouter) {
el = 'a';
linkProps.href = to;