From: Toshi MARUYAMA Date: Sun, 3 Feb 2013 06:53:18 +0000 (+0000) Subject: Merged r11306 from trunk to 2.2-stable (#11987) X-Git-Tag: 2.2.3~11 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0a8e0a3bedc5333268bd6d566607f6e981d0a55f;p=redmine.git Merged r11306 from trunk to 2.2-stable (#11987) pdf: fix broken new line in table. Contributed by Jun NAITOH. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.2-stable@11308 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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)