On Mon, Mar 08, 2004 at 01:33:05PM +0400, Samir Mishra wrote: > What I need is - > some_html_fn("this & that") -> "this & that" > etc. but with more than just the "&" replacement. Try http://utidylib.sourceforge.net (a Python wrapper for tidy). Pieter -- http://zwiki.org/PieterB