Opened 17 months ago

#11286 new defect

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

Reported by: stephane.le.roy.pam@… Owned by: coderanger
Priority: normal Component: TocMacro
Severity: normal Keywords: anchor link
Cc: Trac Release:


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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

as new The owner will remain coderanger.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.