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:
parent
049b35edb0
commit
4d787ce228
|
@ -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 %>
|
||||
|
||||
<%
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue