[Rt-devel] Mason HTML tidy script

Jim Meyer purp at acm.org
Thu Jan 5 01:52:09 EST 2006


Hello!

On Wed, 2005-12-28 at 11:00, Ruslan Zakirov wrote:
> I've writen small script that:
> * adds quotes around attributes of the tags
> * close tags br, img and input tags with ' />' syntax
> * downcase tags and attributes names
> * (down|upper)case values of some attributes
> 
> This brings code closer to XHTML DTD, I think we should apply such
> change to 3.5, I've tested it and all tests pass.
> 
> PS: I don't know who have applied xhtml1-strict DTD to RT's pages, but
> it's completly wrong!

Would it be interesting to look at this?

    http://tidy.sf.net/

Cheers!

--j
-- 
Jim Meyer, Geek at Large                                    purp at acm.org



More information about the Rt-devel mailing list