]> source.dussan.org Git - redmine.git/commitdiff
Rails3: view: use html_safe for Gantt
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 1 Oct 2011 01:12:21 +0000 (01:12 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 1 Oct 2011 01:12:21 +0000 (01:12 +0000)
Contributed by Sylvain Utard.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7556 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/gantts/show.html.erb

index d693a1fff8567106d3a49beec5c26aea4bed4949..b9ea4c37dccefa4c634b9b451cb94f16d09fb3f6 100644 (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 %>
 
 <%
 #