]> source.dussan.org Git - redmine.git/commitdiff
replace « and » at app/helpers/application_helper.rb to hexadecimal UTF...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 6 Aug 2011 00:49:52 +0000 (00:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 6 Aug 2011 00:49:52 +0000 (00:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6412 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index a8e6f5ca906ad919be752df228261879722f8353..b027f4ef000d9468b9f07ac83a83c4d728241c50 100644 (file)
@@ -353,7 +353,10 @@ module ApplicationHelper
 
     html = ''
     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
 
     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) + ' &#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
 
     unless count.nil?