summaryrefslogtreecommitdiffstats
path: root/app/views/gantts
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-01 01:12:21 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-01 01:12:21 +0000
commit4d787ce228308806722706e69a422c9d71e934f9 (patch)
tree22a4cce784ac227e301379e3fa85f02cb6b4c5b1 /app/views/gantts
parent049b35edb083be1f10ddb653d8fd0778dbd30b14 (diff)
downloadredmine-4d787ce228308806722706e69a422c9d71e934f9.tar.gz
redmine-4d787ce228308806722706e69a422c9d71e934f9.zip
Rails3: view: use html_safe for Gantt
Contributed by Sylvain Utard. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-rw-r--r--app/views/gantts/show.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index d693a1fff..b9ea4c37d 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -72,7 +72,7 @@ t_height = g_height + headers_height
<div style="right:-2px;width:<%= subject_width %>px;height:<%= t_height %>px;border-left: 1px solid #c0c0c0;overflow:hidden;" class="gantt_hdr"></div>
<div class="gantt_subjects">
-<%= @gantt.subjects %>
+<%= @gantt.subjects.html_safe %>
</div>
</div>
@@ -152,7 +152,7 @@ if show_days
end
end %>
-<%= @gantt.lines %>
+<%= @gantt.lines.html_safe %>
<%
#