From a09da046ec12f00caf3b8b84cb68112e36391ba2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 6 Oct 2011 15:02:56 +0000 Subject: Rails3: view: use html_safe for subprojects at projects/show.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7588 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/projects') diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index 281ff3b8f..5cef644d0 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -14,7 +14,7 @@ <% unless @project.homepage.blank? %>
  • <%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %>
  • <% end %> <% if @subprojects.any? %>
  • <%=l(:label_subproject_plural)%>: - <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %>
  • + <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ").html_safe %> <% end %> <% @project.visible_custom_field_values.each do |custom_value| %> <% if !custom_value.value.blank? %> -- cgit v1.2.3