From 56c97a45d3c379d3f57a09c8afeebad7132cf98c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 20 Aug 2011 11:51:02 +0000 Subject: [PATCH] Rails3: use String#html_safe at GanttHelper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6488 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/gantt_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb index 03bd8451f..477410f09 100644 --- a/app/helpers/gantt_helper.rb +++ b/app/helpers/gantt_helper.rb @@ -25,7 +25,7 @@ module GanttHelper params.merge(gantt.params.merge(:zoom => (gantt.zoom+1))), :class => 'icon icon-zoom-in' else - content_tag('span', l(:text_zoom_in), :class => 'icon icon-zoom-in') + content_tag('span', l(:text_zoom_in), :class => 'icon icon-zoom-in').html_safe end when :out @@ -34,7 +34,7 @@ module GanttHelper params.merge(gantt.params.merge(:zoom => (gantt.zoom-1))), :class => 'icon icon-zoom-out' else - content_tag('span', l(:text_zoom_out), :class => 'icon icon-zoom-out') + content_tag('span', l(:text_zoom_out), :class => 'icon icon-zoom-out').html_safe end end end