mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-18 12:51:43 +00:00
Merge pull request #1380 from irfancharania/SanitizeTags
Allow HTML table tags/attributes in sanitizer
This commit is contained in:
commit
23031f6430
1 changed files with 2 additions and 0 deletions
2
config/initializers/sanitizer.rb
Normal file
2
config/initializers/sanitizer.rb
Normal file
|
@ -0,0 +1,2 @@
|
|||
ActionView::Base.sanitized_allowed_tags += Set.new(%w(table thead tbody tr th td))
|
||||
ActionView::Base.sanitized_allowed_attributes += Set.new(%w(border cellspacing cellpadding valign))
|
Loading…
Add table
Reference in a new issue