Skip to content

Improve page break support for tables#155

Open
jdillard wants to merge 2 commits into
useblocks:mainfrom
jdillard:table-rows
Open

Improve page break support for tables#155
jdillard wants to merge 2 commits into
useblocks:mainfrom
jdillard:table-rows

Conversation

@jdillard

@jdillard jdillard commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

  • Prevent splitting table rows across pages
  • Prevent page breaks after table captions

Each uses both the old and new CSS rules. Note that WeasyPrint can still break the table row if it is longer than a page.

@jdillard jdillard changed the title Prevent table rows from splitting across pages Improve page break support for tables Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant