Module

ClassMethods

There's no documentation for this item.

Public Methods
extended
full_sanitizer Gets the HTML::FullSanitizer instance used by strip_tags. Replace with any object that responds to #sanitize
link_sanitizer Gets the HTML::LinkSanitizer instance used by strip_links. Replace with any object that responds to #sanitize
sanitized_allowed_attributes= Adds to the Set of allowed html attributes for the #sanitize helper.
sanitized_allowed_css_keywords= Adds to the Set of allowed css keywords for the #sanitize and #sanitize_css helpers.
sanitized_allowed_css_properties= Adds to the Set of allowed css properties for the #sanitize and #sanitize_css heleprs.
sanitized_allowed_protocols= Adds to the Set of allowed protocols for the #sanitize helper.
sanitized_allowed_tags= Adds to the Set of allowed tags for the #sanitize helper.
sanitized_bad_tags= Adds to the Set of ‘bad’ tags for the #sanitize helper.
sanitized_shorthand_css_properties= Adds to the Set of allowed shorthand css properties for the #sanitize and #sanitize_css helpers.
sanitized_uri_attributes= Adds valid HTML attributes that the #sanitize helper checks for URIs.
white_list_sanitizer Gets the HTML::WhiteListSanitizer instance used by sanitize and sanitize_css. Replace with any object that responds to #sanitize
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.