diff --git a/actionview/lib/action_view/helpers/sanitize_helper.rb b/actionview/lib/action_view/helpers/sanitize_helper.rb index 44d1fd6402..463a4e9f60 100644 --- a/actionview/lib/action_view/helpers/sanitize_helper.rb +++ b/actionview/lib/action_view/helpers/sanitize_helper.rb @@ -54,7 +54,7 @@ module ActionView # end # # def scrub_attribute?(name) - # name == "style" + # name == 'style' # end # end # @@ -66,7 +66,7 @@ module ActionView # Providing a custom Loofah::Scrubber: # # scrubber = Loofah::Scrubber.new do |node| - # node.remove if node.name == "script" + # node.remove if node.name == 'script' # end # # <%= sanitize @comment.body, scrubber: scrubber %>