Nested OL/UL doesn't get fixed on output
|Reported by:||fredck||Owned by:|
|Component:||Core : Lists||Version:||3.0|
It may happen that pasting operations inject nested <ol> and <ul> elements. The editor should fix it on output.
Steps to reproduce
- Paste the following in the Source view:
<ol> <ol> <li>Test</li> </ol> </ol>
- Switch to WYSIWYG view.
- Switch back to Source view.
The source remains untouched, but the following is expected instead:
<ol> <li> <ol> <li>Test</li> </ol> </li> </ol>
Note that the is needed to properly expand the empty <li> bullet or number for editing.