method

sanitized_uri_attributes=

Importance_1
v3.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.

class Application < Rails::Application
  config.action_view.sanitized_uri_attributes = 'lowsrc', 'target'
end
Show source
Register or log in to add new notes.