diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-27 04:12:12 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-04-27 04:15:29 +0900 |
commit | 0f9fc2b1e6d8ba1817f3df59eafe3d4e0d1e584e (patch) | |
tree | 9f0621367936ea6da29b9c93f1a229d2acaff302 /actionview | |
parent | 124c082d43688040c43f4e4f9ea9f15fdcbec080 (diff) | |
download | rails-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.rb | 2 |
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, '"'.freeze) + value.gsub!('"'.freeze, """.freeze) %(#{key}="#{value}") end |