diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 11:53:36 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 11:53:36 +0000 |
commit | 139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4 (patch) | |
tree | c88f7b17e34153ff3fd8af292913bf59446244ab /lib | |
parent | e7088612d1446c5abbf8fca912fd881526bee497 (diff) | |
download | redmine-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.rb | 4 |
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? && |