[whatwg] Allow trailing slash in always-empty HTML5 elements?

On Nov 30, 2006, at 21:48, Michel Fortin wrote:

> The best way someone could fix the resulting tag soup would  
> probably be to pass the result through HTML Tidy. And it should be  
> pretty straightforward since the tidy library has been part of PHP  
> since version 5.

I noticed, but it is not compiled in by default, which is frustrating.

> What is really important is that authors understand better that  
> HTML must be served as text/html and that XHTML must be served with  
> an xml media type. If the validator enforce that, then I think  
> it'll be sufficient.

http://hsivonen.iki.fi/validator/html5/ does. http://hsivonen.iki.fi/ 
validator/ does too, but allows the enforcement to be turned off.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/

Received on Thursday, 30 November 2006 13:30:17 UTC