Modify

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#49 closed defect (worksforme)

Anchors are not consistent with ID tags generated by trac

Reported by: peter@… Owned by: athomas
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 9 years ago by athomas

  • Status changed from new to assigned

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 9 years ago by athomas

  • Resolution set to worksforme
  • Status changed from assigned to closed

comment:3 Changed 9 years ago by athomas

  • milestone 0.9 deleted

Milestone 0.9 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.