module ActionView::Helpers::SanitizeHelper

def sanitize_css(style)

Sanitizes a block of CSS code. Used by +sanitize+ when it comes across a style attribute.
def sanitize_css(style)
  self.class.white_list_sanitizer.sanitize_css(style)
end