From: Toshi MARUYAMA Date: Tue, 2 Aug 2011 12:48:24 +0000 (+0000) Subject: HTML escape at app/helpers/calendars_helper.rb. X-Git-Tag: 1.3.0~1592 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=44eabad2d75203fd782d81b01468237074482010;p=redmine.git 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 --- 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