module ActionView::Helpers::SanitizeHelper::ClassMethods

def link_sanitizer

end
config.action_view.link_sanitizer = MySpecialSanitizer.new
class Application < Rails::Application

Replace with any object that responds to +sanitize+.
Gets the Rails::Html::LinkSanitizer instance used by +strip_links+.
def link_sanitizer
  @link_sanitizer ||= sanitizer_vendor.link_sanitizer.new
end