]> source.dussan.org Git - redmine.git/commitdiff
PDF: support textilized issue description on issue (#69).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Jul 2011 11:53:36 +0000 (11:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 1 Jul 2011 11:53:36 +0000 (11:53 +0000)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6141 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf.rb

index 97c6b9e1a5db062959974c0266ef8f7102af45ad..c1e82bc65c73763b0405678d7ae1789ad7b70d51 100644 (file)
@@ -344,7 +344,9 @@ module Redmine
         pdf.SetFontStyle('B',9)
         pdf.RDMCell(35+155, 5, l(:field_description), "LRT", 1)
         pdf.SetFontStyle('',9)
-        pdf.RDMMultiCell(35+155, 5, issue.description.to_s, "LRB")
+        pdf.RDMwriteHTMLCell(35+155, 5, 0, 0,
+            Redmine::WikiFormatting.to_html(
+              Setting.text_formatting, issue.description.to_s),"LRB")
         pdf.Ln
 
         if issue.changesets.any? &&