]> source.dussan.org Git - redmine.git/commitdiff
HTML escape at app/helpers/calendars_helper.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:48:24 +0000 (12:48 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 2 Aug 2011 12:48:24 +0000 (12:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6351 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/calendars_helper.rb

index 82f3905e7cf2492e2d31761ef77c88d59b16000f..3e37f69c1dd40a99312d2407ced1782c1bbdbea9 100644 (file)
@@ -32,6 +32,6 @@ module CalendarsHelper
   end
 
   def link_to_month(link_name, year, month, options={})
-    link_to_content_update(link_name, params.merge(:year => year, :month => month))
+    link_to_content_update(h(link_name), params.merge(:year => year, :month => month))
   end
 end