]> source.dussan.org Git - redmine.git/commitdiff
Merged r11306 from trunk to 2.2-stable (#11987)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 3 Feb 2013 06:53:18 +0000 (06:53 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 3 Feb 2013 06:53:18 +0000 (06:53 +0000)
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

lib/plugins/rfpdf/lib/tcpdf.rb

index 62d07cd033cf37fb3da8f28683d87f015a4c0c96..5ffc1f85009a7b82eeda9e5a843525f654afb51f 100755 (executable)
@@ -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)