A HTML::Parser based tag stripper (like the one I posted here) can handle this.
You just need to make sure you escape the '>' and '<' in the text handler (as that is what the nested tags will be treated as).
I haven't seen any non-HTML::Parser tag strippers that don't have one problem or another.
gav^
In reply to Re: Tag-Stripper is Insecure
by gav^
in thread Tag-Stripper is Insecure
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |