W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2002

[bug] tr end tag not recognized as optional

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 03 Jul 2002 03:58:40 +0200
To: html-tidy@w3.org
Message-ID: <buh4iu8vbld8m474hm9uo7shtu4nei3et9@4ax.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:52 GMT