H3 within a link

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 UTC