Irregular page structure causes incorrect menu nesting

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Irregular page structure causes incorrect menu nesting

Post by cmb » Mon Jan 19, 2015 11:22 pm

Hello Community,

while refactoring XH_Li I've noticed that irregular page structures[1] cause incorrect nestings of ul elements, where the single li start tags between consecutive ul start tags are omitted.

This should be fixed with r1468.

[1] I.e. contents where intermediate Hx pages are skipped, e.g.

Code: Select all

<h1>Foo</h1>
<h3>Bar</h3> 
In the long run we may consider to forbid this -- it seems to me that it makes no sense, but it complicates some code.
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply