mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user