Closed Spuds closed 12 years ago
This can be achieved with filters alone.
Sorry, bad terminology on my part ... forgot how whitelist was being used
What I meant was and option to disallow certain tags within other tags ... a disallow children option to prevent the nesting of for example a url inside of an email tag or things like that ... there are a few examples of nesting that should be prevented in some instances.
Ah gotcha, that makes more sense. That might be do-able in v4.
Added a new childrenBlacklist in v4.
https://github.com/milesj/php-decoda/blob/master/filters/FilterAbstract.php#L108
I'd like to see a blacklist option to supplement the current whitelist option. There are times when its easier to set what tags are not allowed vs which ones are allowed.