mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 08:46:41 +01:00
Allow tables in translation content
This commit is contained in:
parent
9b46f9bcc5
commit
8a50868f45
@ -3,7 +3,7 @@ class TranslationContentScrubber < Rails::Html::PermitScrubber
|
|||||||
super
|
super
|
||||||
self.tags = %w( strong em b i p code pre tt samp kbd var sub
|
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
|
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 )
|
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 )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user