Hi Adam,
The example you describe works as the html being submitted is in the correct format in the editor before it gets submitted.
Sorry about not understanding the problem; I can see why as I'm not very good at explaining things in words. Please bear with me and I will try to describe step by step:
- Start in http://cutesoft.net/example/xmloutput.aspx
- Clear all the html so that we have a fresh blank editor.
- Type "Bullet 1" ...Enter...."Bullet 2"....Enter..."Bullet 3"...Enter
- Type "Number 1"...Enter...."Number 2....Enter
- Type "Bullet 4"...Enter
- Select all the text an click on the "Insert Unordered List" button
- Then select only the "Number 1" & "Number 2" text
- Click on the "Indent Text" button
- Then with the "Number 1" etc text still selected click on the "Insert Ordered List"
- Hit the "Submit" button
This produces:
<ul>
<li>Bullet 1</li>
<li>Bullet 2</li>
<li>Bullet 3
</li>
<ol>
<li>Number 1</li>
<li>Number 2</li>
</ol>
<li>Bullet 4</li>
</ul>
You should see that the closing "li" tag on "Bullet 3" is in the wrong place.
Thanks again.