Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Unwrap another html_escape

  • Loading branch information...
commit fadbc7c9eea63e9d8d6ef29b126db4bd3335785b 1 parent 2cdf730
@matthewd matthewd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionview/lib/action_view/helpers/output_safety_helper.rb
View
4 actionview/lib/action_view/helpers/output_safety_helper.rb
@@ -29,9 +29,9 @@ def raw(stringish)
# # => "<p>foo</p><br /><p>bar</p>"
#
def safe_join(array, sep=$,)
- sep = ERB::Util.html_escape(sep)
+ sep = ERB::Util.unwrapped_html_escape(sep)
- array.map { |i| ERB::Util.html_escape(i) }.join(sep).html_safe
+ array.map { |i| ERB::Util.unwrapped_html_escape(i) }.join(sep).html_safe
end
end
end

1 comment on commit fadbc7c

@matthewd
Collaborator

Just got curious how many were left... from my quick glance through, this looks to be the last of the trivially replaceable ones

Please sign in to comment.
Something went wrong with that request. Please try again.