diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-02 13:02:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-02 13:02:23 +0000 |
commit | 1a02a73f8f15f7f32d93a9e3bcda312802d18777 (patch) | |
tree | 690d1b5883a7a116f60e640efc77202c120e2f0d /app/views | |
parent | a2f2592fe10dc47fa64cbf8e3e471beba7928e7c (diff) | |
download | redmine-1a02a73f8f15f7f32d93a9e3bcda312802d18777.tar.gz redmine-1a02a73f8f15f7f32d93a9e3bcda312802d18777.zip |
HTML escape at app/views/gantts/show.html.erb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6368 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/gantts/show.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index ddff80d86..1acd83487 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -92,7 +92,7 @@ height = (show_weeks ? header_heigth : header_heigth + g_height) width = ((month_f >> 1) - month_f) * zoom - 1 %> <div style="left:<%= left %>px;width:<%= width %>px;height:<%= height %>px;" class="gantt_hdr"> - <%= link_to "#{month_f.year}-#{month_f.month}", @gantt.params.merge(:year => month_f.year, :month => month_f.month), :title => "#{month_name(month_f.month)} #{month_f.year}"%> + <%= link_to h("#{month_f.year}-#{month_f.month}"), @gantt.params.merge(:year => month_f.year, :month => month_f.month), :title => "#{month_name(month_f.month)} #{month_f.year}"%> </div> <% left = left + width + 1 |