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

<P> tag generated with enclose-block-text

From: Klaus Johannes Rusch <KlausRusch@atmedia.net>
Date: Thu, 21 Sep 2000 04:00:28 -0400
Message-Id: <200009210800.EAA01146@tux.w3.org>
To: html-tidy@w3.org

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

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

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

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?


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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:48 UTC