<P> tag generated with enclose-block-text

Dave, 

the changes applied by TIDY when using enclose-block-text are breaking
some documents, for example

Input:
...
  <li><b>ABRAMATIC, Bruno</b>,
      Supelec,
      <a href="mailto:abramati_bru@lsi.supelec.fr">abramati_bru@lsi.supelec.fr</a></li>



XHTML Output:
...
<ul>
<li><b>ABRAMATIC, Bruno</b>
<p>, Supelec, <a href="mailto:abramati_bru@lsi.supelec.fr">abramati_bru@lsi.supelec.fr</a></p>
</li>


My reading of the HTML 4.01 strict.dtd is that mixed content is perfectly valid
in this place

<!ELEMENT LI - O (%flow;)*             -- list item -->
<!ENTITY % flow "%block; | %inline;">

and similar for the corresponding XHTML strict.dtd, so IMHO the extra paragraph
tags should not be generated.

Do you agree?

Thanks

-- 
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/

Received on Thursday, 21 September 2000 04:00:28 UTC