Rails3: use String#html_safe for render_menu_node() at lib/redmine/menu_manager.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6471 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
af20566bf4
commit
a970118755
|
@ -176,7 +176,7 @@ module Redmine
|
|||
menu_items_for(menu, project) do |node|
|
||||
links << render_menu_node(node, project)
|
||||
end
|
||||
links.empty? ? nil : content_tag('ul', links.join("\n"))
|
||||
links.empty? ? nil : content_tag('ul', links.join("\n").html_safe)
|
||||
end
|
||||
|
||||
def render_menu_node(node, project=nil)
|
||||
|
|
Loading…
Reference in New Issue