You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
It is just a reminder to future self and everyone, who is struggling with the problem: "anchors, internal links not working in wkhtmltopdf 0.12.4 (or maybe earlier versions also)"
<aname="here"></a>
....
I want to go <ahref="#here">there.</a>
Solution:
Put anything within the anchor, and it should work now:
<aname="here"> </a>
....
I want to go <ahref="#here">there.</a>
This issue is linked to #1554, #2153, #2949, #2957 and maybe to some other PRs and issues also that I have not found yet.
Acknowledgement:
I would like to say a huge thank you to @ashkulz for pointing out the issue with WebKit. I would also like to say thank you to any contributor who fixes (or has already fixed, e.g. @rpedela in #2957) this problem in a PR.
The text was updated successfully, but these errors were encountered:
It is just a reminder to future self and everyone, who is struggling with the problem: "anchors, internal links not working in wkhtmltopdf 0.12.4 (or maybe earlier versions also)"
Problem:
If you have an anchor whose content is empty, then they will be removed by WebKit. (Thank you @ashkulz for pointing it out!)
Solution:
Put anything within the anchor, and it should work now:
This issue is linked to #1554, #2153, #2949, #2957 and maybe to some other PRs and issues also that I have not found yet.
Acknowledgement:
I would like to say a huge thank you to @ashkulz for pointing out the issue with WebKit. I would also like to say thank you to any contributor who fixes (or has already fixed, e.g. @rpedela in #2957) this problem in a PR.
The text was updated successfully, but these errors were encountered: