Project

General

Profile

Actions

Bug #14317

closed

RTE produces invalid nested list markup

Added by Christopher over 19 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2004-09-15
Due date:
% Done:

0%

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

Description

When nesting ordered and unordered lists, the RTE produces markup like this:

<ul>
<li>List item</li>
<li>List item</li>
<ol>
<li>List item</li>
</ol>
<li>List item</li>
</ul>

But , <ol> and <ul> (and, for that matter, any other elements except <li>) are not permitted immediately inside <ol>/<ul> elements. The correct markup would be like this:

<ul>
<li>List item</li>
<li>List item
<ol>
<li>List item</li>
</ol>
</li>
<li>List item</li>
</ul>

...in other words, the nested list should be wrapped in one of the <li> elements from the outer list. Unless I'm mistaken, this can't be adjusted in the RTE config.

(issue imported from #M360)


Files

0000360-bug360.html (942 Bytes) 0000360-bug360.html Administrator Admin, 2004-09-17 01:09
Actions

Also available in: Atom PDF