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:
parent
77aab5c468
commit
34d14500c9
|
@ -11,7 +11,9 @@
|
|||
<%= 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)%>:
|
||||
<%= @subprojects.collect{|p| link_to(h(p), :action => 'show', :id => p)}.join(", ").html_safe %></li>
|
||||
|
|
Loading…
Reference in New Issue