From 819badd55b1867185ee0bf549791901cdd473574 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 4 Sep 2010 00:23:55 +0100 Subject: [PATCH] Reflect move of u_unpack from Chars to Unicode --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e285215b8..34f9a893c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 -- 2.43.2