From 4b83908b55953e7fd57d001edf7b70c916eb0edb Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 6 Aug 2011 00:49:52 +0000 Subject: [PATCH] replace « and » at app/helpers/application_helper.rb to hexadecimal UTF-8 strings (#4796). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6412 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a8e6f5ca9..b027f4ef0 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -353,7 +353,10 @@ module ApplicationHelper html = '' if paginator.current.previous - html << link_to_content_update('« ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' ' + # \xc2\xab(utf-8) = « + html << link_to_content_update( + "\xc2\xab " + l(:label_previous), + url_param.merge(page_param => paginator.current.previous)) + ' ' end html << (pagination_links_each(paginator, options) do |n| @@ -361,7 +364,10 @@ module ApplicationHelper end || '') if paginator.current.next - html << ' ' + link_to_content_update((l(:label_next) + ' »'), url_param.merge(page_param => paginator.current.next)) + # \xc2\xbb(utf-8) = » + html << ' ' + link_to_content_update( + (l(:label_next) + " \xc2\xbb"), + url_param.merge(page_param => paginator.current.next)) end unless count.nil? -- 2.39.5