Raneto icon indicating copy to clipboard operation
Raneto copied to clipboard

Special characters in subsection names break links in table of contents

Open olliemath opened this issue 7 years ago • 0 comments

Adding a subsection with non alphanumeric characters, like ### Don't panic! generates html like this:

<h3 id="don-t-panic-">Don't panic!</h3>

but the corresponding entry in the TOC for that page is missing the hyphens:

<a href="this_page_address/#dont-panic">Don't panic!</a>

This results in a TOC with sporadic dead links.

olliemath avatar Aug 23 '17 14:08 olliemath