Digital PDF internal links don't work

I have a digital PDF export of a text with manually created internal links that wouldn’t work–only some and not others. Then I realized the links that weren’t working all began with a number (‘beginning’ meaning the beginning of the perma-link that can be edited in each chapter). All of the links function fine on the web, but when exported as an xhtml (and presumably as the PDF) an extra word gets added into the internal anchor tag before the numeral, making the manually hyperlinked text not work :frowning: The autogenerated links in the TOC work fine, just not the manually created ones.

I wanted to let someone know in case this comes up for anyone else–don’t let your chapters start with numerals or else you may have to go back and change all of them! (and your manually linked text)

Woah – super weird! Do you have an example of this we can look at? It may be something we could investigate and fix as a potential bug …

Yeah, sure thing!

This is how the permalink looks in the editing screen:

this is what the manual link looks like (which works on the web):

This is the html showing the anchor link auto generated from the toc:

You can see in the very top of that last one (the xhtml shown in a browser) that the anchor link created by the program adds the word “slug” into the url before the number.

Here are the files:
html
pdf

The chapters after 21 are the ones that begin with the numbers. Let me know if you need any more details!