From 44eabad2d75203fd782d81b01468237074482010 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 12:48:24 +0000 Subject: [PATCH] HTML escape at app/helpers/calendars_helper.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6351 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/calendars_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb index 82f3905e7..3e37f69c1 100644 --- a/app/helpers/calendars_helper.rb +++ b/app/helpers/calendars_helper.rb @@ -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 -- 2.39.5