From 2fa1e08c96a598f90dd548c6ab2e25b994855a2f Mon Sep 17 00:00:00 2001 From: Jacques Distler Date: Thu, 22 Feb 2007 01:16:18 -0600 Subject: [PATCH] Tweak dependencies of sanitize.rb --- lib/sanitize.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/sanitize.rb b/lib/sanitize.rb index 551831ff..2042ac24 100644 --- a/lib/sanitize.rb +++ b/lib/sanitize.rb @@ -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',