From 2a68b470f1bc3fcf90ab719ba694e5c582436d3c Mon Sep 17 00:00:00 2001 From: "T.J. Schuck" Date: Tue, 20 Jan 2015 14:21:22 -0500 Subject: Single instead of double quotes [ci skip] --- actionview/lib/action_view/helpers/sanitize_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'actionview/lib/action_view/helpers/sanitize_helper.rb') 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 %> -- cgit v1.2.3