diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-20 06:52:25 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-20 06:52:25 +0000 |
commit | a970118755083fa4079fc9ed98e6aa441894b686 (patch) | |
tree | ad9665182de85eea8a362b5f11719ccb2c8d166e /lib | |
parent | af20566bf48d887649371fb02430a029535ed725 (diff) | |
download | redmine-a970118755083fa4079fc9ed98e6aa441894b686.tar.gz redmine-a970118755083fa4079fc9ed98e6aa441894b686.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/menu_manager.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/menu_manager.rb b/lib/redmine/menu_manager.rb index 129633dad..9f9c78163 100644 --- a/lib/redmine/menu_manager.rb +++ b/lib/redmine/menu_manager.rb @@ -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) |