Skip to content

Commit

Permalink
Ensure all HTML:: constants are available to autoload [#1462 state:re…
Browse files Browse the repository at this point in the history
…solved]

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