[python-uk] Favourite ways of scrubbing HTML/whitelisting specific HTML tags?

Alexander Harrowell a.harrowell at gmail.com
Thu Feb 7 16:30:57 CET 2008


If you're not bothered about speed, BeautifulSoup can catch, remove and
replace arbitrary HTML tags in a document.

On Thu, Feb 7, 2008 at 2:35 PM, Michael Sparks <ms at cerenity.org> wrote:

> Hi,
>
>
> Just a quick Q for people: what's your favourite way (preferably a library
> :)
> of allowing a subset of HTML tags through? I can think of 1/2 dozen
> different
> ways of doing this, but I'm sure there's a preferred approach for some...
>
> Thanks in advance :-)
>
>
> Michael.
> --
> http://yeoldeclue.com/blog
> http://kamaelia.sourceforge.net/Developers/
> _______________________________________________
> python-uk mailing list
> python-uk at python.org
> http://mail.python.org/mailman/listinfo/python-uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-uk/attachments/20080207/2340bf6a/attachment.htm 


More information about the python-uk mailing list