From 8d91709538a8164e3e7619fe1e91fa3036cc348f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 16 Sep 2011 01:53:18 +0000 Subject: [PATCH] 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 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)