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

Re: bug in handling </p> inside <table>

From: Fred Bone <fred.bone@dial.pipex.com>
Date: Mon, 24 Jul 2000 18:34:46 +0100
To: html-tidy@w3.org
Message-ID: <397C8C46.27466.11FFEA5B@localhost>
On 24 Jul 2000, at 11:44, Tung Mansfield wrote:

> I have the following html:
> 
> <html>
> <body>
> <table>
> <tr><td></td></tr>
> <p>
> </p>
> <tr><td></td></tr>
> </table>
> </body>
> </html>

> ...

> The <p> and </p> tags on lines 5 and 6 (of the original html) are replaced
> with two <br> tags. Also, a <table> tag was inserted. The first change is
> OK, but the second one causes problems. The <table> tag should not be
> inserted. Please fix this.

The second <table> tag is required, because the following <tr> must 
be enclosed in a Table. The first table was closed when Tidy 
encountered markup that implied closure.
Received on Monday, 24 July 2000 13:34:55 GMT

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