You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<body><table><thead><tr><th>Column 1</th><th>Column 2</th><th>Column 3</th><th>Column 4</th><th>Column 5</th><th>Column 6</th><th>Column 7</th></tr></thead>
[% FOREACH group IN [1 .. 10] %]
<tbodystyle="page-break-inside: avoid">
[% FOREACH count IN [1 .. 20] %]
<tr><td>[% count %]</td><td>[% count %]</td><td>[% count %]</td><td>[% count %]</td><td>[% count %]</td><td>[% count %]</td><td>[% count %]</td></tr>
[% END %]
</tbody>
[% END %]
</table></body>
Problem occurs when I group rows with <tbody style="page-break-inside: avoid"> together. This works if the rows are few enough that they fit onto a page (in my example I used the A4 landscape format for my page). If they exceed the page weasyprint hangs forever without any warnings. The content of the cells doesn't matter. The error occurs even if all cells are empty.
Version 0.24
The text was updated successfully, but these errors were encountered:
liZe
changed the title
Grouping table rows with <tbody style="page-break-inside: avoid"> - weasyprint hangs
Don't crash when elements with no break points and multiple flows are higher than a page
Aug 18, 2017
minimal example:
Problem occurs when I group rows with
<tbody style="page-break-inside: avoid">
together. This works if the rows are few enough that they fit onto a page (in my example I used the A4 landscape format for my page). If they exceed the page weasyprint hangs forever without any warnings. The content of the cells doesn't matter. The error occurs even if all cells are empty.Version 0.24
The text was updated successfully, but these errors were encountered: