Opened 20 years ago
Last modified 18 years ago
#847 closed defect
Add 'id' attribute to h2 elements in the wiki — at Initial Version
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | 0.9 |
Component: | wiki system | Version: | 0.8 |
Severity: | normal | Keywords: | |
Cc: | manuzhai@…, trac-form@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
By adding the 'id' attribute to the h* elements in the wiki, it would be possible to link to both a page and a specific section of the page.
e.g.
== Versions ==
…would become…
<h2 id="versions">Versions</h2>
… and could be linked to with [wiki:SomePage#versions]
.
It would also need to correct case/replace spaces with underscores in both the tag generation and link parsing.
Note:
See TracTickets
for help on using tickets.