mirror of
https://github.com/nature-of-code/noc-book-2
synced 2024-11-17 07:49:05 +01:00
keep referral information
This commit is contained in:
parent
7862ab4349
commit
35ee26dd63
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ export function parseContent(html) {
|
|||
|
||||
if (node.properties.href.indexOf('://') > 0) {
|
||||
node.properties.target = '_blank';
|
||||
node.properties.rel = 'noopener noreferrer';
|
||||
node.properties.rel = 'noopener';
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue