Closed (fixed)
Project:
widgEditor - A WYSIWYG editor
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2007 at 05:57 UTC
Updated:
18 Dec 2008 at 06:23 UTC
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 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.