From: Toshi MARUYAMA Date: Sat, 2 Jul 2011 13:54:27 +0000 (+0000) Subject: PDF: support textilized changeset comments (revision log) on issue (#69). X-Git-Tag: 1.3.0~1752 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=aede35d2268dbe25258344ffacf35487cc6e2ae7;p=redmine.git 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 --- 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