Allow also width and style for tr tags.
This commit is contained in:
parent
306cd6c3db
commit
11c8fdbb1c
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ Rails.application.config.html_sanitizer_attributes_whitelist = {
|
||||||
'table' => %w(align bgcolor border cellpadding cellspacing frame rules sortable summary width style),
|
'table' => %w(align bgcolor border cellpadding cellspacing frame rules sortable summary width style),
|
||||||
'td' => %w(abbr align axis colspan headers rowspan valign 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),
|
'th' => %w(abbr align axis colspan headers rowspan scope sorted valign width style),
|
||||||
|
'tr' => %w(width style),
|
||||||
'ul' => %w(type),
|
'ul' => %w(type),
|
||||||
'q' => %w(cite),
|
'q' => %w(cite),
|
||||||
'span' => %w(style),
|
'span' => %w(style),
|
||||||
|
|
Loading…
Reference in a new issue