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:
parent
832c7eaaa5
commit
bd85c0cbb1
|
@ -7,7 +7,9 @@
|
||||||
|
|
||||||
<p><em><%=h @document.category.name %><br />
|
<p><em><%=h @document.category.name %><br />
|
||||||
<%= format_date @document.created_on %></em></p>
|
<%= format_date @document.created_on %></em></p>
|
||||||
|
<div class="wiki">
|
||||||
<%= textilizable @document.description, :attachments => @document.attachments %>
|
<%= textilizable @document.description, :attachments => @document.attachments %>
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<h3><%= l(:label_attachment_plural) %></h3>
|
<h3><%= l(:label_attachment_plural) %></h3>
|
||||||
|
|
|
@ -64,7 +64,9 @@ end %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p><strong><%=l(:field_description)%></strong></p>
|
<p><strong><%=l(:field_description)%></strong></p>
|
||||||
|
<div class="wiki">
|
||||||
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
|
<%= textilizable @issue, :description, :attachments => @issue.attachments %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% if @issue.attachments.any? %>
|
<% if @issue.attachments.any? %>
|
||||||
<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>
|
<%= link_to_attachments @issue.attachments, :delete_url => (authorize_for('issues', 'destroy_attachment') ? {:controller => 'issues', :action => 'destroy_attachment', :id => @issue} : nil) %>
|
||||||
|
|
Loading…
Reference in New Issue