Skip to content
Browse files

Removed some of the tags that does not make sense to allow per defaul…

…t in the whitelist

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8269 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent cfa31c3 commit 0aec2423edbfa0a1fa99ae868273b3e9b29581d2 @dhh dhh committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
View
4 actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
@@ -72,9 +72,9 @@ class WhiteListSanitizer < Sanitizer
self.bad_tags = Set.new(%w(script))
# Specifies the default Set of tags that the #sanitize helper will allow unscathed.
- self.allowed_tags = Set.new(%w(strong em b i p code pre tt output samp kbd var sub
+ self.allowed_tags = Set.new(%w(strong em b i p code pre tt samp kbd var sub
sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dt dd abbr
- acronym a img blockquote del ins fieldset legend))
+ acronym a img blockquote del ins))
# Specifies the default Set of html attributes that the #sanitize helper will leave
# in the allowed tag.

0 comments on commit 0aec242

Please sign in to comment.
Something went wrong with that request. Please try again.