Discussion
-
hmmm, the best way might be to open up HoboFields::SanitizeHtml and redefine self.sanitize:
create a
config/initializers/hobo\_sanitize\_html.rb:module HoboFields::SanitizeHtml def self.sanitize(s) Helper.new.sanitize(s, :tags => PERMITTED_TAGS+['input'], :attributes => PERMITTED_ATTRIBUTES) end end
