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
This commit is contained in:
Toshi MARUYAMA 2011-10-01 01:12:21 +00:00
parent 049b35edb0
commit 4d787ce228
1 changed files with 2 additions and 2 deletions

View File

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