diff options
author | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:22:33 -0300 |
---|---|---|
committer | Sebastian Martinez <sebastian@wyeworks.com> | 2011-05-23 20:22:33 -0300 |
commit | fcdb5dc55729f4939e9a5064dfee8eef2dec4316 (patch) | |
tree | 1079c98240b4ef6f3d704685c9c4557eb1976886 /actionpack/lib/action_controller/vendor/html-scanner | |
parent | c6ec7e825e37a894d47386e9d6ca3021de1eb056 (diff) | |
download | rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.tar.gz rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.tar.bz2 rails-fcdb5dc55729f4939e9a5064dfee8eef2dec4316.zip |
Remove extra white spaces on ActionPack docs.
Diffstat (limited to 'actionpack/lib/action_controller/vendor/html-scanner')
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb | 2 |
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 91a97c02ff..eaefdc0f15 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb @@ -103,7 +103,7 @@ module HTML # Specifies the default Set of allowed shorthand css properties for the #sanitize and #sanitize_css helpers. self.shorthand_css_properties = Set.new(%w(background border margin padding)) - # Sanitizes a block of css code. Used by #sanitize when it comes across a style attribute + # Sanitizes a block of css code. Used by #sanitize when it comes across a style attribute def sanitize_css(style) # disallow urls style = style.to_s.gsub(/url\s*\(\s*[^\s)]+?\s*\)\s*/, ' ') |