aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/sanitize_helper.rb
diff options
context:
space:
mode:
authorT.J. Schuck <tj@getharvest.com>2015-01-20 14:21:22 -0500
committerT.J. Schuck <tj@getharvest.com>2015-01-20 14:21:22 -0500
commit2a68b470f1bc3fcf90ab719ba694e5c582436d3c (patch)
tree5b22b17bba365d6e153299cd844e18f73c6572db /actionview/lib/action_view/helpers/sanitize_helper.rb
parentd4ec25a3176c1e5f7083d0d39203d01c03cbb696 (diff)
downloadrails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.tar.gz
rails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.tar.bz2
rails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.zip
Single instead of double quotes
[ci skip]
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 %>