From: Toshi MARUYAMA Date: Sat, 1 Oct 2011 01:12:21 +0000 (+0000) Subject: Rails3: view: use html_safe for Gantt X-Git-Tag: 1.3.0~420 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4d787ce228308806722706e69a422c9d71e934f9;p=redmine.git 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 --- 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
-<%= @gantt.subjects %> +<%= @gantt.subjects.html_safe %>
@@ -152,7 +152,7 @@ if show_days end end %> -<%= @gantt.lines %> +<%= @gantt.lines.html_safe %> <% #