Opened 4 years ago

# Html element id is the same in TOC and in the wiki page

Reported by: Owned by: stephane.le.roy.pam@… normal TocMacro normal anchor link

### Description

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.

### comment:1 Changed 2 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

### Modify Ticket

Change Properties