]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/application_helper.rb
Reflect move of u_unpack from Chars to Unicode
[rails.git] / app / helpers / application_helper.rb
index e285215b8d85a01c81bc7eabb93d58ba233ff774..34f9a893cdbec9e7aacd574a83353f176219f488 100644 (file)
@@ -14,7 +14,7 @@ module ApplicationHelper
   end
 
   def html_escape_unicode(text)
-    chars = ActiveSupport::Multibyte::Chars.u_unpack(text).map do |c|
+    chars = ActiveSupport::Multibyte::Unicode.u_unpack(text).map do |c|
       c < 127 ? c.chr : "&##{c.to_s};"
     end