Actions
Bug #14317
closedRTE produces invalid nested list markup
Status:
Closed
Priority:
Should have
Assignee:
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
Actions