Skip to content

Commit 5cc2f8a

Browse files
Autolink AV::Helpers::SanitizeHelper#sanitize [ci-skip]
1 parent e8656f8 commit 5cc2f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actionview/lib/action_view/helpers/sanitize_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def sanitize(html, options = {})
112112
self.class.safe_list_sanitizer.sanitize(html, options)&.html_safe
113113
end
114114

115-
# Sanitizes a block of CSS code. Used by +sanitize+ when it comes across a style attribute.
115+
# Sanitizes a block of CSS code. Used by #sanitize when it comes across a style attribute.
116116
def sanitize_css(style)
117117
self.class.safe_list_sanitizer.sanitize_css(style)
118118
end

0 commit comments

Comments
 (0)