danfickle / danfickle/openhtmltopdf

Link points to incorrect page when target is pushed to next page

Open
#276 0 comments 0 reactions 1 assignee Claimed by @danfickle View on GitHub
Dominant language
Java
Stars
2.2k
Forks
423
PR merge metrics
No merged PRs in 30d

Description

I have `page-break-after: avoid` set for h1-h6. If I generate a link to a heading that would have rendered at the bottom of a page, but now has moved to the top of a new page, then the link target is still pointing to the bottom of the first page. Bookmarks etc also have the incorrect page number.

This in 0.0.1-RC15

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.