From: Toshi MARUYAMA Date: Sun, 21 Aug 2011 11:11:25 +0000 (+0000) Subject: Rails3: replace » of breadcrumb() at ApplicationHelper to hexadecimal UTF-8... X-Git-Tag: 1.3.0~1442 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a12cf0fb57670a973eb499ee6d246c8dd15075e5;p=redmine.git Rails3: replace » of breadcrumb() at ApplicationHelper to hexadecimal UTF-8 strings and use String#html_safe. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6519 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ebcb1bc1d..c3706ffec 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -396,7 +396,7 @@ module ApplicationHelper def breadcrumb(*args) elements = args.flatten - elements.any? ? content_tag('p', args.join(' » ') + ' » ', :class => 'breadcrumb') : nil + elements.any? ? content_tag('p', (args.join(" \xc2\xbb ") + " \xc2\xbb ").html_safe, :class => 'breadcrumb') : nil end def other_formats_links(&block)