Opened 3 months ago
Html element id is the same in TOC and in the wiki page
|Reported by:||stephane.le.roy.pam@…||Owned by:||coderanger|
If you are using an anchor definition in your headings of a wiki page like this == [=#perimetre-technique 2. Périmètre technique] == then the span element with the id "perimetre-technique" is also in the TOC (so 2 elements of the html page have the same id).
Having this, a link to page#perimetre-technique links to the TOC entry and not to the heading in the page (as it should do).
The element id in the TOC should be prefixed with something like "a1." as you do for automatic anchor generation.