module ActionView::Helpers::SanitizeHelper::ClassMethods

def deprecate_option(name)

def deprecate_option(name)
  ActiveSupport::Deprecation.warn "The #{name} option is deprecated " \
    "and has no effect. Until Rails 5 the old behavior can still be " \
    "installed. To do this add the `rails-deprecated-sanitizer` to " \
    "your Gemfile. Consult the Rails 4.2 upgrade guide for more information."
end

def sanitized_allowed_attributes=(attributes)


end
config.action_view.sanitized_allowed_attributes = ['onclick', 'longdesc']
class Application < Rails::Application

Replaces the allowed HTML attributes for the +sanitize+ helper.
def sanitized_allowed_attributes=(attributes)
  sanitizer_vendor.safe_list_sanitizer.allowed_attributes = attributes
end

def sanitized_allowed_tags=(tags)


end
config.action_view.sanitized_allowed_tags = 'table', 'tr', 'td'
class Application < Rails::Application

Replaces the allowed tags for the +sanitize+ helper.
def sanitized_allowed_tags=(tags)
  sanitizer_vendor.safe_list_sanitizer.allowed_tags = tags
end