On Nov 18, 8:54 pm, rusi <rustompm... at gmail.com> wrote: > Start with cgi.escape perhaps?http://docs.python.org/2/library/cgi.html This may be a better link for starters http://wiki.python.org/moin/EscapingHtml (Note the escaping xml at the bottom)