Modify ↓
#49 closed defect (worksforme)
Anchors are not consistent with ID tags generated by trac
| Reported by: | 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 20 years ago by
| Status: | new → assigned |
|---|
comment:2 Changed 20 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.



This works perfectly in the TracHacks SandBox as well as https://svn.swapoff.org/op/.
Have you applied the AnchorPatch? It is a requirement.