Modify

Opened 18 years ago

Closed 18 years ago

#1062 closed defect (invalid)

Links inside headers messes up output

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

If there are links inside the text of a heading, then the full original text gets copied into the table of contents, including the opening square bracket etc. Instead, TocMacro should strip out the formatting and just use the wiki text that would be shown in the main page.

Attachments (0)

Change History (1)

comment:1 Changed 18 years ago by mnw21@…

Resolution: invalid
Status: newclosed

My apologies, this is not a bug in TocMacro. The bug exists in Trac, in the call to shorten_line in OneLinerFormatter in trac/wiki/formatter.py

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
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.