Skip to content

Conversation

@ondrej-vipo
Copy link
Contributor

This PR will automatically sets the destinations based on HTML id attributes.

This will allow hash links to work as expected (as in the web browser). see: FIX #803

Copy link
Contributor

@williamdes williamdes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So you have an example PDF?

@ondrej-vipo
Copy link
Contributor Author

ondrej-vipo commented May 12, 2025

test-before-pr.pdf
test-after-pr.pdf

PHP Code to generate PDF is in #803

@williamdes
Copy link
Contributor

Awesome, the fix looks fine
@nicolaasuni what do you think ?

@nicolaasuni nicolaasuni mentioned this pull request May 27, 2025
@nicolaasuni nicolaasuni merged commit 0f91dce into tecnickcom:main May 27, 2025
14 checks passed
@ondrej-vipo ondrej-vipo deleted the htmldestinations branch August 8, 2025 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WriteHTML does not set destinations for scrolling to tags with ids

3 participants