Project

General

Profile

Actions

Bug #14317

closed

RTE produces invalid nested list markup

Added by Christopher about 20 years ago. Updated over 18 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 #1

Updated by Christopher about 20 years ago

Arg. How aggravating. I didn't realize that html would be displayed as ...html.

So, please see the attached file.

Actions #2

Updated by Sacha Vorbeck over 19 years ago

keyword:accessibility

Actions #3

Updated by Stanislas Rolland over 18 years ago

I think the markup of nested lists would be correct when produced by htmlArea RTE. Please confirm.

Actions #4

Updated by Christopher over 18 years ago

Confirmed; htmlArea RTE does produce correctly nested lists!

Absolutely terrific news!

Actions #5

Updated by Stanislas Rolland over 18 years ago

As this is working in extension rtehtmlarea, and I don't think it will be fixed in old rte, I am closing this issue.

Actions

Also available in: Atom PDF