html filtering
QdlatY
qdlaty at wielun.dhs.org
Mon Dec 25 13:12:46 EST 2000
Hello!
Moshe Zadka wrote:
>
> On Mon, 25 Dec 2000, QdlatY <qdlaty at wielun.dhs.org> wrote:
>
> > 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?
>
> Well, it is safe as long as you remember to replace every "&" with
> "&" *before* you replace < and >.
Yes! Thanks. I forget about ampersands;)).
Yours
QdlatY
More information about the Python-list
mailing list