summaryrefslogtreecommitdiffstats
path: root/lib/redmine/export
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-02 13:54:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-02 13:54:27 +0000
commitaede35d2268dbe25258344ffacf35487cc6e2ae7 (patch)
treeb13effad246babfbfae06e3293e692026b741731 /lib/redmine/export
parent44e9f7c4b2403859ca5a9a89814935e921588be9 (diff)
downloadredmine-aede35d2268dbe25258344ffacf35487cc6e2ae7.tar.gz
redmine-aede35d2268dbe25258344ffacf35487cc6e2ae7.zip
PDF: support textilized changeset comments (revision log) on issue (#69).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6154 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/export')
-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 d61cb3d4c..dcce2ef96 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -362,7 +362,9 @@ module Redmine
pdf.Ln
unless changeset.comments.blank?
pdf.SetFontStyle('',8)
- pdf.RDMMultiCell(190,5, changeset.comments.to_s)
+ pdf.RDMwriteHTMLCell(190,5,0,0,
+ Redmine::WikiFormatting.to_html(
+ Setting.text_formatting, changeset.comments.to_s), "")
end
pdf.Ln
end