anchor suffix keeps increasing with each page view
|Reported by:||anonymous||Owned by:||athomas|
I just applied the anchor patch to my trac installation, and I can see from the page source that the anchors are being added to the headings on each page. The problem is, each time I view the page, the anchor suffix is increase by 1.
Example: The heading 'Primary' has this source <h1 id="Primary">Primary</h1>, but the second time I view the page it gets this <h1 id="Primary1">Primary</h1>, then next time <h1 id="Primary2">Primary</h1>, etc.
The TOC macro only ever links to the first anchor (without the number appended) so my TOC only works the first time a view a page.
I'm using TRAC 0.8.1 on Debian with mod_python to serve multiple projects.
Change History (7)
comment:4 Changed 10 years ago by athomas
- Resolution set to fixed
- Status changed from assigned to closed