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
This commit is contained in:
Toshi MARUYAMA 2011-07-01 11:54:08 +00:00
parent 139d401dc5
commit 47ec67532b
1 changed files with 3 additions and 1 deletions

View File

@ -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