2008-11-23 22:12:00 -05:00
|
|
|
$LOAD_PATH << "#{File.dirname(__FILE__)}/html-scanner"
|
|
|
|
|
|
|
|
module HTML
|
2009-12-02 23:01:01 -05:00
|
|
|
extend ActiveSupport::Autoload
|
|
|
|
|
2009-12-22 18:27:37 -05:00
|
|
|
eager_autoload do
|
|
|
|
autoload :CDATA, 'html/node'
|
|
|
|
autoload :Document, 'html/document'
|
|
|
|
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
|
2008-11-23 22:12:00 -05:00
|
|
|
end
|