mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 08:59:08 +01:00
Allow rel
in sanitized links
This commit is contained in:
parent
8bbc9c72c1
commit
f871ab45e8
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
EVIL_TAGS = {
|
||||
elements: %w(blockquote a p i strong em del pre code table tr td th br ul ol li hr),
|
||||
attributes: {
|
||||
'a' => %w(href target)
|
||||
'a' => %w(href target rel)
|
||||
},
|
||||
protocols: {
|
||||
'a' => { 'href' => ['http', 'https', :relative] }
|
||||
|
|
Loading…
Reference in a new issue