1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-10 00:36:42 +01:00

Support underline in translations

This commit is contained in:
Philipp Fischbeck 2021-02-22 15:24:28 +01:00
parent 686e8d9f46
commit 2e2e419938

View File

@ -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 table th tr td thead tbody tfoot ) acronym a img blockquote del ins table th tr td thead tbody tfoot u )
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 ) align border cellpadding cellspacing colspan )
end end