When I print following webpage, the first table (with header) is not printed, unless I remove tags. I got the error when I was trying to print irregular tables (some of the tables were connected to look like one table).
http://langust.x10.mx/test_wrongly_printed_header.html What a funny bug! This is caused by this line (and the same ones in the next blocks): This test asserts that if there's nothing on the page, that's because nothing can be be drawn, so the header/footer doesn't fit. But when there's nothing else to draw on the page, that's normal :). It鈥檚 fixed in branch All 2 comments
<html>text<table style="border: 2px solid"><thead><tr><th>Header<html><table style="border: 2px solid"><thead><tr><th>Header
https://github.com/Kozea/WeasyPrint/blob/f0da0374bf0d54deb802393f6c636adf7541f9b9/weasyprint/layout/tables.py#L281fix_129 (surprise!), we need tests before merging.Related issues
ivoronin
路
3Comments
muzzamilkhan
路
3Comments
whitelynx
路
5Comments
Tontyna
路
4Comments
SimonSapin
路
4Comments
Most helpful comment
It鈥檚 fixed in branch
fix_129(surprise!), we need tests before merging.