Commit bd85c0cb authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixed: table of content not rendered properly when used in an issue or document description.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1035 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 832c7eaa
......@@ -7,7 +7,9 @@
<p><em><%=h @document.category.name %><br />
<%= format_date @document.created_on %></em></p>
<div class="wiki">
<%= textilizable @document.description, :attachments => @document.attachments %>
</div>
<br />
<h3><%= l(:label_attachment_plural) %></h3>
......
......@@ -64,7 +64,9 @@ end %>
<% end %>
<p><strong><%=l(:field_description)%></strong></p>
<div class="wiki">
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
</div>
<% if @issue.attachments.any? %>
<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>
......
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