Mark 'you are here info' as html_safe

pull/4544/head
Oliver Günther 8 years ago
parent 1ad53449a2
commit ba9f40a681
  1. 2
      lib/redmine/menu_manager/menu_helper.rb

@ -144,7 +144,7 @@ module Redmine::MenuManager::MenuHelper
options[:aria] = { haspopup: 'true' }
options[:class] = "#{options[:class]} #{selected ? 'selected' : ''}"
link_to(you_are_here_info(selected) + label, '', options)
link_to(you_are_here_info(selected).html_safe + label, '', options)
end
def any_item_selected?(items)

Loading…
Cancel
Save