From afc9e4784b8e510bb61da4c266510dbb02f7e6c7 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 3 Feb 2013 05:44:13 +0000 Subject: [PATCH] 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 --- lib/plugins/rfpdf/lib/tcpdf.rb | 4 ++++ 1 file changed, 4 insertions(+) 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)