aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/sanitize_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/lib/action_view/helpers/sanitize_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/sanitize_helper.rb4
1 files changed, 2 insertions, 2 deletions
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 %>