public Method

SanitizeHelper.sanitize_css(style)

Sanitizes a block of css code. Used by #sanitize when it comes across a style attribute

Source Code

# File action_view/helpers/sanitize_helper.rb, line 56
def sanitize_css(style)
  self.class.white_list_sanitizer.sanitize_css(style)
end
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.