Rails3: view: html_safe for auto_link of project homepage

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8956 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-02-23 23:08:00 +00:00
parent 77aab5c468
commit 34d14500c9
1 changed files with 4 additions and 2 deletions

View File

@ -11,9 +11,11 @@
<%= textilizable @project.description %>
</div>
<ul>
<% 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)).html_safe %></li>
<% end %>
<% 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(", ").html_safe %></li>
<% end %>
<% @project.visible_custom_field_values.each do |custom_value| %>