Re: List Item closing tag is removed

  •  10-01-2007, 9:15 AM

    Re: List Item closing tag is removed

    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:

    1. Start in http://cutesoft.net/example/xmloutput.aspx
    2. Clear all the html so that we have a fresh blank editor.
    3. Type "Bullet 1" ...Enter...."Bullet 2"....Enter..."Bullet 3"...Enter
    4. Type "Number 1"...Enter...."Number 2....Enter
    5. Type "Bullet 4"...Enter
    6. Select all the text an click on the "Insert Unordered List" button
    7. Then select only the "Number 1" & "Number 2" text
    8. Click on the "Indent Text" button
    9. Then with the "Number 1" etc text still selected click on the "Insert Ordered List"
    10. 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.

View Complete Thread