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
This commit is contained in:
Toshi MARUYAMA 2011-08-06 00:49:52 +00:00
parent 48dccc46f0
commit 4b83908b55
1 changed files with 8 additions and 2 deletions

View File

@ -353,7 +353,10 @@ module ApplicationHelper
html = '' html = ''
if paginator.current.previous if paginator.current.previous
html << link_to_content_update('&#171; ' + l(:label_previous), url_param.merge(page_param => paginator.current.previous)) + ' ' # \xc2\xab(utf-8) = &#171;
html << link_to_content_update(
"\xc2\xab " + l(:label_previous),
url_param.merge(page_param => paginator.current.previous)) + ' '
end end
html << (pagination_links_each(paginator, options) do |n| html << (pagination_links_each(paginator, options) do |n|
@ -361,7 +364,10 @@ module ApplicationHelper
end || '') end || '')
if paginator.current.next if paginator.current.next
html << ' ' + link_to_content_update((l(:label_next) + ' &#187;'), url_param.merge(page_param => paginator.current.next)) # \xc2\xbb(utf-8) = &#187;
html << ' ' + link_to_content_update(
(l(:label_next) + " \xc2\xbb"),
url_param.merge(page_param => paginator.current.next))
end end
unless count.nil? unless count.nil?