Skip to content

Commit

Permalink
Allow style tags (#1712)
Browse files Browse the repository at this point in the history
  • Loading branch information
cantino committed Sep 28, 2016
1 parent 1497712 commit 5e5d1ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sanitizer.rb
@@ -1,2 +1,2 @@
ActionView::Base.sanitized_allowed_tags += Set.new(%w(style table thead tbody tr th td))
ActionView::Base.sanitized_allowed_attributes += Set.new(%w(border cellspacing cellpadding valign))
ActionView::Base.sanitized_allowed_attributes += Set.new(%w(border cellspacing cellpadding valign style))

1 comment on commit 5e5d1ea

@signallhill
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

Please sign in to comment.