Skip to content

Commit

Permalink
Address Style/StringLiterals offence
Browse files Browse the repository at this point in the history
Caused at 9276ea8.
  • Loading branch information
kamipo committed Apr 26, 2018
1 parent 124c082 commit 0f9fc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionview/lib/action_view/helpers/tag_helper.rb
Expand Up @@ -90,7 +90,7 @@ def tag_option(key, value, escape)
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

Expand Down

1 comment on commit 0f9fc2b

@amatsuda
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♂️

Please sign in to comment.