W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

H3 within a link

From: Denis Queffeulou <denis.queffeulou@wokup.com>
Date: Thu, 30 Nov 2000 11:19:40 +0100
Message-Id: <200011301014.LAA15581@chiron.rennes.wokup>
To: <html-tidy@w3.org>
Hi,

I'm using JTidy as a parser, and I have a problem with the following code:

    <a href="toto.html">
    	<h3>blabla</h3>
    </a>

Tidy generates :

<h3>blabla</h3>

Is it a bug or is it a consequence of bad HTML writting ??

I have search in the list something like this problem and I found "Bug:
Nested anchor elements allowed" but the patch is in C, what about the Java
code, especially the DescendantOf function ?

Thanks,

Denis Queffeulou
Received on Thursday, 30 November 2000 05:14:56 GMT

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