Modify

Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#49 closed defect (worksforme)

Anchors are not consistent with ID tags generated by trac

Reported by: peter@… Owned by: Alec Thomas
Priority: normal Component: TocMacro
Severity: normal Keywords:
Cc: Trac Release:

Description

This input:

[[TOC(noheading, SandBox)]]
== 1. Introduction ==
== 2. Methods ==

generates:

<h2 id="a1.Introduction">1. Introduction</h2>
<h2 id="a2.Methods">2. Methods</h2>

But the anchors from the TOC macro are:

<li><a href="/cgi-bin/trac.cgi/wiki/SandBox#1Introduction">1. Introduction</a></li>
<li><a href="/cgi-bin/trac.cgi/wiki/SandBox#2Methods">2. Methods</a></li>

Also, german letters (äöü) are handled differently.

Attachments (0)

Change History (3)

comment:1 Changed 12 years ago by Alec Thomas

Status: newassigned

This works perfectly in the TracHacks SandBox as well as https://svn.swapoff.org/op/.

Have you applied the AnchorPatch? It is a requirement.

comment:2 Changed 12 years ago by Alec Thomas

Resolution: worksforme
Status: assignedclosed

comment:3 Changed 11 years ago by Alec Thomas

milestone: 0.9

Milestone 0.9 deleted

Modify Ticket

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