[bug] tr end tag not recognized as optional

Hi,

This valid HTML fragment

    <table>
      <tr><td>top    <td rowspan=2>0%
      <tr><td>left
      <tr><td>center <td>50%
      <tr><td>right  <td rowspan=2>100%
      <tr><td>bottom
    </table>

(end tag for elements tr and td are optional) makes Tidy complain

  line 7 column 5 - Warning: discarding unexpected </table>
  line 8 column 1 - Warning: missing </table>

The </table> is expected, tidy must not discared it.

Received on Tuesday, 2 July 2002 21:59:11 UTC