diff options
author | T.J. Schuck <tj@getharvest.com> | 2015-01-20 14:21:22 -0500 |
---|---|---|
committer | T.J. Schuck <tj@getharvest.com> | 2015-01-20 14:21:22 -0500 |
commit | 2a68b470f1bc3fcf90ab719ba694e5c582436d3c (patch) | |
tree | 5b22b17bba365d6e153299cd844e18f73c6572db /actionview/lib | |
parent | d4ec25a3176c1e5f7083d0d39203d01c03cbb696 (diff) | |
download | rails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.tar.gz rails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.tar.bz2 rails-2a68b470f1bc3fcf90ab719ba694e5c582436d3c.zip |
Single instead of double quotes
[ci skip]
Diffstat (limited to 'actionview/lib')
-rw-r--r-- | actionview/lib/action_view/helpers/sanitize_helper.rb | 4 |
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 %> |