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

Michael Foord fuzzyman at voidspace.org.uk
Thu Feb 7 16:20:17 CET 2008


Michael Sparks 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 :-)
>
>   

I used htmldata a while ago to do this:

http://www.voidspace.org.uk/python/weblog/arch_d7_2005_04_23.shtml#e35

Michael Foord
http://www.manning.com/foord


> 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
>
>   



More information about the python-uk mailing list