Modify ↓
Opened 11 years ago
Last modified 10 years ago
#11286 new defect
Html element id is the same in TOC and in the wiki page
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | TocMacro |
Severity: | normal | Keywords: | anchor link |
Cc: | Trac Release: |
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.
Attachments (0)
Note: See
TracTickets for help on using
tickets.