Commit ed22f5af authored by tmaruyama's avatar tmaruyama
Browse files

Rails3: view: use html_safe for subprojects at projects/show.html.erb

git-svn-id: https://svn.redmine.org/redmine/trunk@7588 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent b2056ac0
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %> <% unless @project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(@project.homepage)) %></li><% end %>
<% if @subprojects.any? %> <% if @subprojects.any? %>
<li><%=l(:label_subproject_plural)%>: <li><%=l(:label_subproject_plural)%>:
<%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ") %></li> <%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ").html_safe %></li>
<% end %> <% end %>
<% @project.visible_custom_field_values.each do |custom_value| %> <% @project.visible_custom_field_values.each do |custom_value| %>
<% if !custom_value.value.blank? %> <% if !custom_value.value.blank? %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment