Modify

Opened 11 years ago

Last modified 9 years 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:
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)

Change History (1)

comment:1 Changed 9 years ago by Ryan J Ollos

Owner: Noah Kantrowitz deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.