aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/vendor
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-04-13 10:01:35 +0600
committerAlexey Vakhov <vakhov@gmail.com>2012-04-13 10:01:35 +0600
commit74f9bdd215f59386ed89faf9d66b7018ce3381f0 (patch)
tree9576882c85b803d3302aba4642ec2f4fa34d3cc7 /actionpack/lib/action_controller/vendor
parent944ed4b9606fd44e99cd9fbf79a9a1faad89239c (diff)
downloadrails-74f9bdd215f59386ed89faf9d66b7018ce3381f0.tar.gz
rails-74f9bdd215f59386ed89faf9d66b7018ce3381f0.tar.bz2
rails-74f9bdd215f59386ed89faf9d66b7018ce3381f0.zip
Fix HTML sanitizer allowed_css_properties comment
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 e9b50ff8ce..114b0e73c9 100644
--- a/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
+++ b/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb
@@ -99,7 +99,7 @@ module HTML
self.allowed_protocols = Set.new(%w(ed2k ftp http https irc mailto news gopher nntp telnet webcal xmpp callto
feed svn urn aim rsync tag ssh sftp rtsp afs))
- # Specifies the default Set of acceptable css keywords that #sanitize and #sanitize_css will accept.
+ # Specifies the default Set of acceptable css properties that #sanitize and #sanitize_css will accept.
self.allowed_css_properties = Set.new(%w(azimuth background-color border-bottom-color border-collapse
border-color border-left-color border-right-color border-top-color clear color cursor direction display
elevation float font font-family font-size font-style font-variant font-weight height letter-spacing line-height