HTML filtering

Serdar Soydemir serdars at ixir.com
Mon Dec 25 16:15:26 EST 2000


Hello,

Using translate method and maketrans method in string module may be a good
idea. I didn't use them but they seem more practical than replace..

--
Serdar



QdlatY <qdlaty at wielun.dhs.org> wrote in message
news:3A46900D.BD118A0A at wielun.dhs.org...
> Hello!
>
> Big problem in writeing message boards is filtering html tags. I use
> very simple method: Each occurence of "<" sign or ">" sign I replace
> with < and >. Is this safe method? Maybe You've got better ideas?
>
> Yours
> QdlatY
> --
> http://www.python.org/mailman/listinfo/python-list







More information about the Python-list mailing list