Modify ↓
Ticket #284 (closed defect: fixed)
TracNav Causes Invalid XHTML To Be Generated
| Reported by: | freddie@… | Owned by: | moschny |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trac.tracnav | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The use of the TracNav macro anywhere on a page causes invalid XHTML code to be generated. This is because code to the following effect is produced:
<p>
<div class="wiki-toc trac-nav">
<!-- ... -->
</div>
</p>
XHTML however does not allow for a <div> to be inside of a <p>.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Patches are welcome!