From: Toshi MARUYAMA Date: Fri, 16 Sep 2011 01:53:18 +0000 (+0000) Subject: HTML escape at context_menu_link() of app/helpers/application_helper.rb (#9252) X-Git-Tag: 1.3.0~718 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8d91709538a8164e3e7619fe1e91fa3036cc348f;p=redmine.git HTML escape at context_menu_link() of app/helpers/application_helper.rb (#9252) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7250 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index d58461a5f..193c93e9a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -849,7 +849,7 @@ module ApplicationHelper options[:class] << ' disabled' url = '#' end - link_to name, url, options + link_to h(name), url, options end def calendar_for(field_id)