Method: ActionView::Helpers::SanitizeHelper#sanitize_css
- Defined in:
- actionview/lib/action_view/helpers/sanitize_helper.rb
#sanitize_css(style) ⇒ Object
Sanitizes a block of CSS code. Used by sanitize
when it comes across a style attribute.
87 88 89 |
# File 'actionview/lib/action_view/helpers/sanitize_helper.rb', line 87 def sanitize_css(style) self.class.safe_list_sanitizer.sanitize_css(style) end |