Rails3: use String#html_safe at GanttHelper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6488 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-20 11:51:02 +00:00
parent 0c30610f4b
commit 56c97a45d3
1 changed files with 2 additions and 2 deletions

View File

@ -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