Modify ↓
Opened 12 years ago
Closed 10 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 |
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 (0)
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Priority: | normal → high |
---|---|
Status: | new → assigned |
comment:3 Changed 11 years ago by
Status: | assigned → accepted |
---|
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
(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).