Fix typo: change 'noreferer' to 'noreferrer'
as the correct rel attribute in external links.
This commit is contained in:
parent
ac3df158f7
commit
f6f23ed0ee
3 changed files with 11 additions and 11 deletions
|
@ -1,5 +1,5 @@
|
|||
Sanitize::Config::OSM = Sanitize::Config::RELAXED.dup
|
||||
|
||||
Sanitize::Config::OSM[:elements] -= %w[div style]
|
||||
Sanitize::Config::OSM[:add_attributes] = { "a" => { "rel" => "nofollow noopener noreferer" } }
|
||||
Sanitize::Config::OSM[:add_attributes] = { "a" => { "rel" => "nofollow noopener noreferrer" } }
|
||||
Sanitize::Config::OSM[:remove_contents] = %w[script style]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue