Skip to content

Commit

Permalink
fix margin-bottom on table spipu/html2pdf#108
Browse files Browse the repository at this point in the history
  • Loading branch information
aaryarajojuH committed Oct 19, 2022
1 parent 3265d31 commit 412b021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
* fix issue from https://github.com/spipu/html2pdf/pull/177
* fix issue from https://github.com/spipu/html2pdf/pull/163
* fix bug on div position https://github.com/spipu/html2pdf/issues/73
* fix margin-bottom on table https://github.com/spipu/html2pdf/issues/108

## [4.6.0] - 2016-03-30

Expand Down
2 changes: 2 additions & 0 deletions src/Html2Pdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -5167,6 +5167,8 @@ protected function _tag_close_TABLE($param)
$y = self::$_tables[$param['num']]['curr_y'];
}

$y+= $this->parsingCss->value['margin']['b'];

$this->_maxX = max($this->_maxX, $x);
$this->_maxY = max($this->_maxY, $y);

Expand Down

0 comments on commit 412b021

Please sign in to comment.