New: Add rel="noreferrer" to all external links
This commit is contained in:
parent
05bee7c37a
commit
c722e91124
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue