mirror of
https://github.com/redmine/redmine.git
synced 2026-01-08 16:42:54 +01:00
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
This commit is contained in:
@@ -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) %>
|
||||
|
||||
Reference in New Issue
Block a user