Re: List Item closing tag is removed

  •  10-01-2007, 3:57 AM

    Re: List Item closing tag is removed

    Hi Adam.

    I'm aware that the close tag issue happens on the server side, however I tested my problem on your example and it did not render correct XHTML.

    The following is the html I submitted in your example:

      <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>

    And once submitted I got :

      <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>

    Which is the same, but not valid XHTML. All elements do have closing tags, but the closing tags are in the wrong place. The closing tag of "Bullet 3" should appear after the closing "ol" tag, and not before the opening "ol" tag.

    Thanks in advance.

View Complete Thread