[pmwiki-users] Producing XHTML 1.0 Strict

Patrick R. Michaud pmichaud at pobox.com
Wed Apr 7 15:21:08 CDT 2010


On Thu, Apr 08, 2010 at 12:38:17AM +0530, V.Krishn wrote:
> 
> Would it very difficult if PmWiki produces XHTML 1.0 Strict output?
> One reason for doing would be preparing PmWiki for HTML 5.0 which obsoletes 
> some elements and attributes.
> example:
>  [[<<]] produces <br clear='all' /> , which would not pass XHTML 1.0 Strict as 
> well as  HTML 5.0.
> Solution is <br class='someclass' />  with style .someclass { clear: both; }

IIRC, Some browsers don't treat the "clear:both;" CSS property the same as 
"<br clear='all' />".  So it's not an exact replacement.

Pm



More information about the pmwiki-users mailing list