aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/vendor
diff options
context:
space:
mode:
authorJeffrey Chupp <jchupp@politics4all.com>2009-04-04 09:36:32 -0500
committerPratik Naik <pratiknaik@gmail.com>2009-05-17 14:29:47 +0200
commit842dab0c29bb05b98856aeb333bb0c2d14601a50 (patch)
tree3f005d3b37b80af757b10a242f011eebce1a9434 /actionpack/lib/action_controller/vendor
parent4fa871654dc6e591c08cbc53e7eac2e008056fee (diff)
downloadrails-842dab0c29bb05b98856aeb333bb0c2d14601a50.tar.gz
rails-842dab0c29bb05b98856aeb333bb0c2d14601a50.tar.bz2
rails-842dab0c29bb05b98856aeb333bb0c2d14601a50.zip
Ensure WhiteListSanitizer allows dl tag [#2393 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack/lib/action_controller/vendor')
-rw-r--r--actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb b/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
index ae20f9947c..a992f7d912 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
@@ -73,7 +73,7 @@ module HTML
# 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 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
+ sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dl dt dd abbr
acronym a img blockquote del ins))
# Specifies the default Set of html attributes that the #sanitize helper will leave