Open mustmodify opened 8 years ago
Just playing around, I discovered that if I do this:
<img ... style="float: left;" />
the problem goes away. Still, it would be nice to know if there were a non-total-hack way to do this. Also, if set the width to 100%, it breaks again... so... not a great workaround.
Also fails when the content is a table.
Using wkhtmltopdf 0.12.3 with an image in the header, the top line of the body text is often cut off.
I have tried various fixes I found around the interwebz with no luck. Please let me know if this is possible.
same problem, though different margins, with this:
Input files can be found here: https://gist.github.com/mustmodify/ecf02a7dbfbe8ee74155d35f39d9ba48
test-with-margins-specified.pdf
test-with-unspecified-margins.pdf