Take a look at the Slashcode. They've got a nice tag-specific way of stripping HTML in Slash.pm.
It uses an array of permitted tags, and strips the rest.
-ppmIn reply to Re: BBS HTML fitler
by PotPieMan
in thread BBS HTML fitler
by tkroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |