Pawel
Pawel

Reputation: 3802

wkhtmltopdf duplicates table row on next page

I'm converting HTML that contains tables into a PDF file using wkhtmltopdf on Linux (AWS Lambda). Generally, it works well however it has a problem when table starts before the end of page 1 and ends on page 2. Table header is duplicated over a row on page 2.

enter image description here

What can I do to prevent this issue?

$ ./wkhtmltopdf --version wkhtmltopdf 0.12.3-dev-79ff51e (with patched qt)

Upvotes: 0

Views: 414

Answers (1)

Pawel
Pawel

Reputation: 3802

The answer is simple: Don't use <thead> tag and nothing is repeated on the next page.

Upvotes: 1

Related Questions