Issue with the feature that avoids links with the same ID
javiereguiluz opened this issue · 2 comments
javiereguiluz commented
The #152 fix works beautifully ... but there's something missing in it. The TOC links seems to be not updated.
Example:
- in the TOC: https://symfony.com/doc/current/components/string.html#slugger
- in the body: https://symfony.com/doc/current/components/string.html#slugger-1
Thanks
wouterj commented
I would also suggest not suffixing the first ID and only start suffixing on the first duplicate.
That keeps URLs tidy and preserves BC with any old links.
javiereguiluz commented
I'm working on this and I hope to submit a fix soon.