Improved link cleaning

This commit is contained in:
Grzegorz Leoniec 2019-02-07 08:46:34 +01:00
parent ad2bba586e
commit 2f2bc5e507
No known key found for this signature in database
GPG Key ID: 3AA43686D4EB1377

View File

@ -58,7 +58,8 @@ function clean (dirty) {
tagName: 'a',
attribs: {
href: attribs.href,
target: '_blank'
target: '_blank',
rel: 'noopener noreferrer nofollow'
}
}
},