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

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 UTC