Use noreferrer in addition to noopener for edge case browsers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
d89b8b5148
commit
d783ce86c8
33 changed files with 54 additions and 53 deletions
|
@ -136,7 +136,7 @@ export default class Markdown {
|
|||
// thus opening in a new tab.
|
||||
if (externalLinks) {
|
||||
attrs.push(['target', '_blank']);
|
||||
attrs.push(['rel', 'noopener']);
|
||||
attrs.push(['rel', 'noreferrer noopener']);
|
||||
}
|
||||
this.tag('a', attrs);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue