On Tue, 2 Dec 2003, Casey Duncan wrote: [...] > OTOH, if anyone has a better idea, I'm all ears. What kind of api do people want? [...] from tidy import tidy xhtml = tidy(html) ...plus some optional args. mxTidy does this, more-or-less, I think (but is based on the old HTMLTidy, not tidylib, of course). John