I am trying to make a PDF code of a QR code, but wkhtmltopdf adds a random addition to the last line of the page, even if it should be fine. It is displayed perfectly in the browser.
Full code here: https://jsfiddle.net/pxga201s/2/
The command I use to render it:
/usr/local/bin/wkhtmltopdf --margin-bottom 0 --margin-left 0 --margin-right 0 --margin-top 0 'file:///path/to/qrcodes-5-6.pdf.html' '/path/to/qrcodes-5-6.pdf'
I am using wkhtmltopdf 0.12.3 (with patched qt)
on Mac 10.10.5.
When i use:
tr { page-break-inside: avoid; page-break-after: auto; }
he still adds the add-on, but just clicks it on the following page:
Petah source share