diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 19:12:00 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-11-23 19:12:00 -0800 |
commit | 2dd0ec48a5068a095e362fad2a77d63b86fdfd95 (patch) | |
tree | 3a7fdd08f4a7f361d9a263e52f9b0e57c9f191e8 /actionpack/lib/action_controller/vendor | |
parent | fb4bb93d439f32421c8836261dce0c7de1addf82 (diff) | |
download | rails-2dd0ec48a5068a095e362fad2a77d63b86fdfd95.tar.gz rails-2dd0ec48a5068a095e362fad2a77d63b86fdfd95.tar.bz2 rails-2dd0ec48a5068a095e362fad2a77d63b86fdfd95.zip |
Autoload HTML::Document and sanitizers
Diffstat (limited to 'actionpack/lib/action_controller/vendor')
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner.rb b/actionpack/lib/action_controller/vendor/html-scanner.rb new file mode 100644 index 0000000000..5c6db99858 --- /dev/null +++ b/actionpack/lib/action_controller/vendor/html-scanner.rb @@ -0,0 +1,9 @@ +$LOAD_PATH << "#{File.dirname(__FILE__)}/html-scanner" + +module HTML + autoload :Document, 'html/document' + autoload :Sanitizer, 'html/sanitizer' + autoload :FullSanitizer, 'html/sanitizer' + autoload :LinkSanitizer, 'html/sanitizer' + autoload :WhiteListSanitizer, 'html/sanitizer' +end |