]> source.dussan.org Git - redmine.git/commitdiff
Fixed: table of content not rendered properly when used in an issue or document descr...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 4 Jan 2008 17:55:08 +0000 (17:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 4 Jan 2008 17:55:08 +0000 (17:55 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1035 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/documents/show.rhtml
app/views/issues/show.rhtml

index 599ac389b12f5eef3ea29f98078f7c32b8de573e..3014387bdb057a011b62fec7269d8a845cd64c9f 100644 (file)
@@ -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>
index 006efa3d5852c40ceb3230a40b719231fd32b81c..91b638216a198099703482a10699939a15f0bac6 100644 (file)
@@ -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) %>