module ActionView::Helpers::SanitizeHelper::ClassMethods
def full_sanitizer
config.action_view.full_sanitizer = MySpecialSanitizer.new
class Application < Rails::Application
any object that responds to +sanitize+.
Gets the Rails::Html::FullSanitizer instance used by +strip_tags+. Replace with
def full_sanitizer @full_sanitizer ||= sanitizer_vendor.full_sanitizer.new end