Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
If you try to nest lists within one another, widgEditor improperly codes them.
Here is an example of how widgEditor codes nested lists.
<ol>
<li>Level 1 item 1</li>
<li>Level 1 item 2</li>
<ol>
<li>Level 2 item 1</li>
<li>Level 2 item 2</li>
</ol>
<li>Level 1 item 3</li>
</ol>
To be XHTML compliant, the second list must be contained within a <li> ... </li>
of the parent list. This is how it should be coded.
<ol>
<li>Level 1 item 1</li>
<li>Level 1 item 2
<ol>
<li>Level 2 item 1</li>
<li>Level 2 item 2</li>
</ol>
</li>
<li>Level 1 item 3</li>
</ol>
Comments
Comment #1
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedWhen I tried to test under 6.x-1.0 release, it produced something like this:
Probably fixed with the original widgEditor 1.0.1.