aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-04-27 04:12:12 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-04-27 04:15:29 +0900
commit0f9fc2b1e6d8ba1817f3df59eafe3d4e0d1e584e (patch)
tree9f0621367936ea6da29b9c93f1a229d2acaff302 /actionview
parent124c082d43688040c43f4e4f9ea9f15fdcbec080 (diff)
downloadrails-0f9fc2b1e6d8ba1817f3df59eafe3d4e0d1e584e.tar.gz
rails-0f9fc2b1e6d8ba1817f3df59eafe3d4e0d1e584e.tar.bz2
rails-0f9fc2b1e6d8ba1817f3df59eafe3d4e0d1e584e.zip
Address `Style/StringLiterals` offence
Caused at 9276ea89d2b0be9fdd1ad6590857f8d45a38c267.
Diffstat (limited to 'actionview')
-rw-r--r--actionview/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/tag_helper.rb b/actionview/lib/action_view/helpers/tag_helper.rb
index 146bd5ee24..d12989ea64 100644
--- a/actionview/lib/action_view/helpers/tag_helper.rb
+++ b/actionview/lib/action_view/helpers/tag_helper.rb
@@ -90,7 +90,7 @@ module ActionView
else
value = escape ? ERB::Util.unwrapped_html_escape(value) : value.to_s.dup
end
- value.gsub!('"'.freeze, '&quot;'.freeze)
+ value.gsub!('"'.freeze, "&quot;".freeze)
%(#{key}="#{value}")
end