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:
parent
dd43df8180
commit
a12cf0fb57
@ -396,7 +396,7 @@ module ApplicationHelper
|
|||||||
|
|
||||||
def breadcrumb(*args)
|
def breadcrumb(*args)
|
||||||
elements = args.flatten
|
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
|
end
|
||||||
|
|
||||||
def other_formats_links(&block)
|
def other_formats_links(&block)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user