1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 10:38:50 +01:00

Merge pull request #87 from projekteuler/more-html-attributes

Allow some more HTML attributes
This commit is contained in:
2019-03-09 20:57:20 +01:00
committed by GitHub

View File

@@ -4,7 +4,8 @@ class TranslationContentScrubber < Rails::Html::PermitScrubber
self.tags = %w( strong em b i p code pre tt samp kbd var sub
sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dl dt dd abbr
acronym a img blockquote del ins table th tr td thead tbody tfoot )
self.attributes = %w( href src width height alt cite datetime title class name xml:lang abbr style )
self.attributes = %w( href src width height alt cite datetime title class name xml:lang abbr style
align border cellpadding cellspacing colspan )
end
def skip_node?(node)