mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 16:09:52 +01:00
9 lines
No EOL
227 B
Ruby
9 lines
No EOL
227 B
Ruby
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 rel)
|
|
},
|
|
protocols: {
|
|
'a' => { 'href' => ['http', 'https', :relative] }
|
|
}
|
|
} |