Re: How to strip HTML tags and just get the text



> That's one big todo! I don't think it is sensible to do HTML stripping
> without a state engine to tell where you are. If you know the HTML you are
> getting is very simple, then you may be able to get away with a simple
> thing like your code. Having written a spam filter, the spammers do all
> sorts of fancy things to try to break simple parsers.

Amen.

There's more to it than first meets the eye..

Done right, it's not a trivial task.

John McTaggart


.