summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-01 11:54:08 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-07-01 11:54:08 +0000
commit47ec67532bcbea82c662a299f676dc529e1b9ab2 (patch)
tree406a3b9355144638cd39c2bcf49aea8aecd66d5b
parent139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4 (diff)
downloadredmine-47ec67532bcbea82c662a299f676dc529e1b9ab2.tar.gz
redmine-47ec67532bcbea82c662a299f676dc529e1b9ab2.zip
PDF: support textilized journal notes on issue (#69).
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6142 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 c1e82bc65..2c446e38e 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -384,7 +384,9 @@ module Redmine
if journal.notes?
pdf.Ln unless journal.details.empty?
pdf.SetFontStyle('',8)
- pdf.RDMMultiCell(190,5, journal.notes.to_s)
+ pdf.RDMwriteHTMLCell(190,5,0,0,
+ Redmine::WikiFormatting.to_html(
+ Setting.text_formatting, journal.notes.to_s), "")
end
pdf.Ln
end