summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-03 06:53:18 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2013-02-03 06:53:18 +0000
commit0a8e0a3bedc5333268bd6d566607f6e981d0a55f (patch)
treef5a474580dc466324d8fb97aadb5612bca5a04be
parent58cf34dea59e5daf4f74685f06b0a4c2f0636f0e (diff)
downloadredmine-0a8e0a3bedc5333268bd6d566607f6e981d0a55f.tar.gz
redmine-0a8e0a3bedc5333268bd6d566607f6e981d0a55f.zip
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
-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)