Tweak dependencies of sanitize.rb

This commit is contained in:
Jacques Distler 2007-02-22 01:16:18 -06:00
parent bacae2c468
commit 2fa1e08c96

View file

@ -5,6 +5,9 @@ module Sanitize
#
# Based heavily on Sam Ruby's code in the Universal FeedParser.
require 'html/tokenizer'
require 'html/node'
acceptable_elements = ['a', 'abbr', 'acronym', 'address', 'area', 'b',
'big', 'blockquote', 'br', 'button', 'caption', 'center', 'cite',
'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt',