diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-29 21:46:34 -0500 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-30 11:59:17 -0700 |
commit | c53057d4fdd6aa55c42fe00ce81e0b04948c4f02 (patch) | |
tree | 98fa139ae10f5ae4a420674aa5d2383f60fa8921 | |
parent | 249d9a660698a8eca479016f6ebf7cf8087318c8 (diff) | |
download | rails-c53057d4fdd6aa55c42fe00ce81e0b04948c4f02.tar.gz rails-c53057d4fdd6aa55c42fe00ce81e0b04948c4f02.tar.bz2 rails-c53057d4fdd6aa55c42fe00ce81e0b04948c4f02.zip |
html-scanner uses Set and class_inheritable_accessor
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb | 3 |
1 files changed, 3 insertions, 0 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 a992f7d912..51e0868995 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb @@ -1,3 +1,6 @@ +require 'set' +require 'active_support/core_ext/class/inheritable_attributes' + module HTML class Sanitizer def sanitize(text, options = {}) |