Ticket #10292 (assigned defect)

Opened 9 months ago

Last modified 7 months ago

Line number IDs are not necessarily unique

Reported by: rjollos Assigned to: rjollos (accepted)
Priority: high Component: LinenoMacro
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

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

Change History

09/08/12 01:25:02 changed by rjollos

(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).

10/19/12 10:31:40 changed by rjollos

  • priority changed from normal to high.
  • status changed from new to assigned.

Add/Change #10292 (Line number IDs are not necessarily unique)




Change Properties
Action