Join GitHub today
Anchors / internal links not working [solution] #3486
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)"
<a name="here"></a> .... I want to go <a href="#here">there.</a>
Put anything within the anchor, and it should work now:
<a name="here"> </a> .... I want to go <a href="#here">there.</a>
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.