[daisy] HtmlCleaner : strange case ?

Jonathan Bennett jonathan.bennett at uk.builder.com
Tue Nov 14 05:33:21 CST 2006


> -----Original Message-----
> From: daisy-bounces at lists.cocoondev.org 
> [mailto:daisy-bounces at lists.cocoondev.org] On Behalf Of 
> christophe blin
> Subject: Re: [daisy] HtmlCleaner : strange case ?

> <ul><li><p>hello!</p></li></ul>
> 
> //coment: which, BTW, is not valid xhtml (from the stnadards, 
> li can not have p inside them).

What makes you think that? From the XHTML 1.0 Strict DTD
(http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd):

<!-- list item -->

<!ELEMENT li %Flow;>
<!ATTLIST li
  %attrs;
  >

...which means li can contain block or inline elements, including p.

Jonathan Bennett
Editor, Builder UK

http://uk.builder.com/

 
Builder UK is a CNET Networks Inc. property



More information about the daisy mailing list