]> source.dussan.org Git - redmine.git/commitdiff
HTML escape at context_menu_link() of app/helpers/application_helper.rb (#9252)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 16 Sep 2011 01:53:18 +0000 (01:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 16 Sep 2011 01:53:18 +0000 (01:53 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7250 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index d58461a5f2746dee0cf659f7790ed1274e7d188d..193c93e9ac4e2ddf9760f9372cf4c153c8d7cf03 100644 (file)
@@ -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)