Permalink
Browse files

Treat table rows as single line.

  • Loading branch information...
1 parent 79aa69c commit c0bad84db28d740c8e924d4692408091e3efa540 @racke committed May 31, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 pdf/lib/Template/Flute/PDF/Box.pm
@@ -420,6 +420,9 @@ sub calculate {
elsif ($self->{gi} eq 'br') {
$clear->{before} = 1;
}
+ elsif ($self->{gi} eq 'tr') {
+ $clear->{before} = $clear->{after} = 1;
+ }
elsif ($self->{specs}->{props}->{display} eq 'block') {
if ($self->property('float') eq 'left') {
# no change

0 comments on commit c0bad84

Please sign in to comment.