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:
Toshi MARUYAMA 2011-08-20 06:52:25 +00:00
parent af20566bf4
commit a970118755
1 changed files with 1 additions and 1 deletions

View File

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