[Rt-devel] Mason HTML tidy script
ruslan.zakirov at gmail.com
Wed Dec 28 14:00:00 EST 2005
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!
Best regards, Ruslan.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2931 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20051228/24f04c4a/tidy_html.bin
More information about the Rt-devel