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
This commit is contained in:
Toshi MARUYAMA 2011-08-21 11:11:25 +00:00
parent dd43df8180
commit a12cf0fb57
1 changed files with 1 additions and 1 deletions

View File

@ -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)