Opened 12 years ago

Closed 9 years ago

#10292 closed defect (fixed)

Line number IDs are not necessarily unique

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: high Component: LinenoMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12


In [11941], the IHTMLPreviewAnnotator that is utilized was changed to trac.mimeview.api.LineNumberAnnotator, which includes an anchor for each line number. If there is more than one line-numbered code block in a resource, then the line numbers will not be unique.

This was brought to my attention in the ticket for adding the feature to the Trac core, t:#10834.

Attachments (0)

Change History (4)

comment:1 Changed 12 years ago by Ryan J Ollos

(In [11954]) Refs #10292: (1.2dev) Modified generation of anchor ids to ensure that the id associated with each line number will be unique for the resource. The ids are of the form a\d-L\d (e.g. a1-L1).

comment:2 Changed 12 years ago by Ryan J Ollos

Priority: normalhigh
Status: newassigned

comment:3 Changed 11 years ago by Ryan J Ollos

Status: assignedaccepted

comment:4 Changed 9 years ago by Ryan J Ollos

Resolution: fixed
Status: acceptedclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.