Browse files

remove use of Multibyte.clean as it's no-op in ruby 1.9

  • Loading branch information...
1 parent 39625d1 commit ad0336e528c053e9fcea7b1c1721b1d0e643483f @lest lest committed Jan 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/tag_helper.rb
View
2 actionpack/lib/action_view/helpers/tag_helper.rb
@@ -118,7 +118,7 @@ def cdata_section(content)
# escape_once("<< Accept & Checkout")
# # => "<< Accept & Checkout"
def escape_once(html)
- ActiveSupport::Multibyte.clean(html.to_s).gsub(/[\"><]|&(?!([a-zA-Z]+|(#\d+));)/) { |special| ERB::Util::HTML_ESCAPE[special] }
+ html.to_s.gsub(/[\"><]|&(?!([a-zA-Z]+|(#\d+));)/) { |special| ERB::Util::HTML_ESCAPE[special] }
end
private

0 comments on commit ad0336e

Please sign in to comment.