Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly skip checking for page breaks on empty text nodes
Before, page breaks before empty text nodes were not allowed, but they were still checked; and as they report their line height as the space needed, they could force a page break, which then would continue to search backwards in the tree for an element that allowed a page break (even though it would fit on the current page). Based on work in dompdf#1356 Fixes dompdf#2468
- Loading branch information