diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 11:54:08 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-07-01 11:54:08 +0000 |
commit | 47ec67532bcbea82c662a299f676dc529e1b9ab2 (patch) | |
tree | 406a3b9355144638cd39c2bcf49aea8aecd66d5b | |
parent | 139d401dc5e5f67c9a769b4ce9af2b7fdb635cb4 (diff) | |
download | redmine-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.rb | 4 |
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 |