Bug #14957
closedLists are not XHTML compatible
0%
Description
When I want to create Lists with a second level, the produced HTML-Code is not XHTML-compatible:
The output is:
<ul><li>item1</li><li>item2</li><ul><li>item3</li><li>item4</li></ul><li>item5</li></ul>
correct would be
<ul><li>item1</li><li>item2<ul><li>item3</li><li>item4</li></ul></li><li>item5</li></ul>
(issue imported from #M1434)
Files
Updated by Markus Walter about 19 years ago
Posting HTML-Code doesn't work. Please see the attached list.txt
Updated by Stanislas Rolland about 19 years ago
Please explain how you produce the invalid nested lists and with what browser.
Updated by Markus Walter about 19 years ago
I'm using IE6 and Firefox 1.0.6:
How to produce the code:
Klick on "Bulleted List"
enter "test" + RETURN
enter "test" + RETURN
Klick on "Increase Indent", enter "test" + RETURN
Klick on "Decrease Indent", enter "test"
That's it.
Updated by Stanislas Rolland about 19 years ago
Both browsers produce invalid code...
Please try the editor on this page: http://www.fructifor.ca/677.html?&L=2 and tell me if, in your opinion, the behavior is correct.
Updated by Markus Walter about 19 years ago
With this editor the Code is still invalid. What I found out:
I klicked on "Bulleted List"
then I entered "test" 4x
I marked the third "test" and klicked on "Increase Indent": Now the Code is valid even after entering more items on the same level.
But when I mark the second and the third item together and increase indent the Code is invalid again.
Updated by Stanislas Rolland about 19 years ago
Please try again after clearing your browser cache.
Updated by Markus Walter about 19 years ago
<ul><li>item1<ul><li>item2</li></ul></li></ul>
It's nearly correct:
When I want to decrease the Indent to get on the same level as item1 the code is just valid klicking on "Bulleted List". If I use "Decrease Indent" the HTML is invalid.
Updated by Stanislas Rolland about 19 years ago
The result is different in Mozilla/Firefox than in IE, but I get valid HTML in both cases. What do you get, in what browser?
Updated by Stanislas Rolland about 19 years ago
I expect this problem to be corrected in version 0.7.2.