Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

TOC does not work with ‘-‘ (i.e. dashes) in headings

$
0
0

Replies: 0

Hi and thank you for the amazing work that you have done on this plugin.

I was having an issue with the TOC plugin on my page https://www.crunchreviews.com/audio/best-open-back-headphones/ which you can access and see.

I have played making various changes to pinpoint the issue and what I have discovered is that adding a ‘-‘ breaks the TOC.

If you look at the TOC on my page, the first item in the list is “Best Open Back Headphones – Quick Comparison” clicking on which resolves to:

https://www.crunchreviews.com/audio/best-open-back-headphones/#Best_Open_Back_Headphones_-_Quick_Comparison

If you do remove the “_-_” from the path, you can successfully navigate to the required page section. I have also tried removing the dash from the heading title, which also makes the TOC work.

Are you able to suggest a workaround to this?

Many thanks for your help!

Dmitry


Viewing all articles
Browse latest Browse all 59525

Trending Articles