summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-01 11:53:36 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-01 11:53:36 +0000
commit139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4 (patch)
treec88f7b17e34153ff3fd8af292913bf59446244ab /lib
parente7088612d1446c5abbf8fca912fd881526bee497 (diff)
downloadredmine-139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4.tar.gz
redmine-139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4.zip
PDF: support textilized issue description on issue (#69).
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6141 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/redmine/export/pdf.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index 97c6b9e1a..c1e82bc65 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -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? &&