Project

General

Profile

Actions

Bug #14957

closed

Lists are not XHTML compatible

Added by Markus Walter almost 19 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-09-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

list.txt (307 Bytes) list.txt Administrator Admin, 2005-09-12 11:47
Actions #1

Updated by Markus Walter almost 19 years ago

Posting HTML-Code doesn't work. Please see the attached list.txt

Actions #2

Updated by Stanislas Rolland almost 19 years ago

Please explain how you produce the invalid nested lists and with what browser.

Actions #3

Updated by Markus Walter almost 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.

Actions #4

Updated by Stanislas Rolland almost 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.

Actions #5

Updated by Markus Walter almost 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.

Actions #6

Updated by Stanislas Rolland almost 19 years ago

Please try again after clearing your browser cache.

Actions #7

Updated by Markus Walter almost 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.

Actions #8

Updated by Stanislas Rolland almost 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?

Actions #9

Updated by Stanislas Rolland almost 19 years ago

I expect this problem to be corrected in version 0.7.2.

Actions

Also available in: Atom PDF