method

sanitized_uri_attributes=

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::SanitizeHelper::ClassMethods
sanitized_uri_attributes=(attributes) public

Adds valid HTML attributes that the sanitize helper checks for URIs.

  Rails::Initializer.run do |config|
    config.action_view.sanitized_uri_attributes = 'lowsrc', 'target'
  end
Show source
Register or log in to add new notes.