Mark links in notes and fetch source data box as external.
This commit is contained in:
@@ -61,7 +61,7 @@ module NoteSanitizer
|
||||
:elements => ALLOWED_ELEMENTS,
|
||||
:attributes => ALLOWED_ATTRIBUTES,
|
||||
:add_attributes => {
|
||||
"a" => { "rel" => "nofollow" },
|
||||
"a" => { "rel" => "external noreferrer nofollow" },
|
||||
},
|
||||
:protocols => {
|
||||
"a" => {
|
||||
|
||||
Reference in New Issue
Block a user