summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-04 17:55:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-04 17:55:08 +0000
commitbd85c0cbb1a0c217da862be31e5ee30fa6716e40 (patch)
treeb0aac3eeddf62378bb3c90cc01bfcc038bdf798a /app/views/documents
parent832c7eaaa5af2e13c52b1c264b9849f958394d2e (diff)
downloadredmine-bd85c0cbb1a0c217da862be31e5ee30fa6716e40.tar.gz
redmine-bd85c0cbb1a0c217da862be31e5ee30fa6716e40.zip
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
Diffstat (limited to 'app/views/documents')
-rw-r--r--app/views/documents/show.rhtml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml
index 599ac389b..3014387bd 100644
--- a/app/views/documents/show.rhtml
+++ b/app/views/documents/show.rhtml
@@ -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>