Allow also width and style for tr tags.

This commit is contained in:
Martin Edenhofer 2017-06-24 00:07:14 +02:00
parent 306cd6c3db
commit 11c8fdbb1c

View file

@ -40,6 +40,7 @@ Rails.application.config.html_sanitizer_attributes_whitelist = {
'table' => %w(align bgcolor border cellpadding cellspacing frame rules sortable summary width style),
'td' => %w(abbr align axis colspan headers rowspan valign width style),
'th' => %w(abbr align axis colspan headers rowspan scope sorted valign width style),
'tr' => %w(width style),
'ul' => %w(type),
'q' => %w(cite),
'span' => %w(style),