summaryrefslogtreecommitdiffstats
path: root/lib/plugins
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-03 05:44:13 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-03 05:44:13 +0000
commitafc9e4784b8e510bb61da4c266510dbb02f7e6c7 (patch)
tree58662346012f3e1d1d6d95b15deb64ce5541e2dd /lib/plugins
parentdadf1d4fa17ccb26720cde357eda2e1c2d91d26c (diff)
downloadredmine-afc9e4784b8e510bb61da4c266510dbb02f7e6c7.tar.gz
redmine-afc9e4784b8e510bb61da4c266510dbb02f7e6c7.zip
pdf: fix broken new line in table (#11987)
Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11306 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/plugins')
-rwxr-xr-xlib/plugins/rfpdf/lib/tcpdf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/plugins/rfpdf/lib/tcpdf.rb b/lib/plugins/rfpdf/lib/tcpdf.rb
index 62d07cd03..5ffc1f850 100755
--- a/lib/plugins/rfpdf/lib/tcpdf.rb
+++ b/lib/plugins/rfpdf/lib/tcpdf.rb
@@ -4002,6 +4002,10 @@ class TCPDF
@quote_page[@quote_count] = @page;
@quote_count += 1
when 'br'
+ if @tdbegin
+ @tdtext << "\n"
+ return
+ end
Ln();
if (@li_spacer.length > 0)