mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Improved link cleaning
This commit is contained in:
parent
ad2bba586e
commit
2f2bc5e507
@ -58,7 +58,8 @@ function clean (dirty) {
|
|||||||
tagName: 'a',
|
tagName: 'a',
|
||||||
attribs: {
|
attribs: {
|
||||||
href: attribs.href,
|
href: attribs.href,
|
||||||
target: '_blank'
|
target: '_blank',
|
||||||
|
rel: 'noopener noreferrer nofollow'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user