Allow style tags (#1712)

Andrew Cantino vor 8 Jahren
Ursprung
Commit
5e5d1ea828
1 geänderte Dateien mit 1 neuen Zeilen und 1 gelöschten Zeilen
  1. 1 1
      config/initializers/sanitizer.rb

+ 1 - 1
config/initializers/sanitizer.rb

@@ -1,2 +1,2 @@
1 1
 ActionView::Base.sanitized_allowed_tags += Set.new(%w(style table thead tbody tr th td))
2
-ActionView::Base.sanitized_allowed_attributes += Set.new(%w(border cellspacing cellpadding valign))
2
+ActionView::Base.sanitized_allowed_attributes += Set.new(%w(border cellspacing cellpadding valign style))