diff options
author | Craig Davey <me@craigdavey.ca> | 2008-11-25 10:05:59 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-11-25 10:05:59 -0600 |
commit | f8558798d404f3373517a85fe9e3e8d519c8f3d9 (patch) | |
tree | ef9e474f62d4aef21a599ae8114a4108f2a3922c | |
parent | cb4968171020bf3bb8f713cd69fe035ee5a3d608 (diff) | |
download | rails-f8558798d404f3373517a85fe9e3e8d519c8f3d9.tar.gz rails-f8558798d404f3373517a85fe9e3e8d519c8f3d9.tar.bz2 rails-f8558798d404f3373517a85fe9e3e8d519c8f3d9.zip |
Ensure all HTML:: constants are available to autoload [#1462 state:resolved]
Signed-off-by: Joshua Peek <josh@joshpeek.com>
-rw-r--r-- | actionpack/lib/action_controller/vendor/html-scanner.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/vendor/html-scanner.rb b/actionpack/lib/action_controller/vendor/html-scanner.rb index 5c6db99858..f622d195ee 100644 --- a/actionpack/lib/action_controller/vendor/html-scanner.rb +++ b/actionpack/lib/action_controller/vendor/html-scanner.rb @@ -1,9 +1,16 @@ $LOAD_PATH << "#{File.dirname(__FILE__)}/html-scanner" module HTML + autoload :CDATA, 'html/node' autoload :Document, 'html/document' - autoload :Sanitizer, 'html/sanitizer' autoload :FullSanitizer, 'html/sanitizer' autoload :LinkSanitizer, 'html/sanitizer' + autoload :Node, 'html/node' + autoload :Sanitizer, 'html/sanitizer' + autoload :Selector, 'html/selector' + autoload :Tag, 'html/node' + autoload :Text, 'html/node' + autoload :Tokenizer, 'html/tokenizer' + autoload :Version, 'html/version' autoload :WhiteListSanitizer, 'html/sanitizer' end |