Permalink
Browse files

Ensure all HTML:: constants are available to autoload [#1462 state:re…

…solved]

Signed-off-by: Joshua Peek <josh@joshpeek.com>
  • Loading branch information...
1 parent cb49681 commit f8558798d404f3373517a85fe9e3e8d519c8f3d9 Craig Davey committed with josh Nov 25, 2008
Showing with 8 additions and 1 deletion.
  1. +8 −1 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

0 comments on commit f855879

Please sign in to comment.