Tweak dependencies of sanitize.rb
This commit is contained in:
parent
bacae2c468
commit
2fa1e08c96
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue