Modify

Ticket #284 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

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

comment:1 Changed 5 years ago by moschny

  • Status changed from new to assigned

Patches are welcome!

comment:2 Changed 5 years ago by moschny

Should be fixed in r3248. Please test.

comment:3 Changed 5 years ago by moschny

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

No objections: closing.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
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.