suggestion: strip_tags counterpart
| From: | Maciek Uhlig | Date: | Fri, 04 Aug 2000 12:46:11 +0000 |
| Subject: | suggestion: strip_tags counterpart | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10118@lists.php.net to get a copy of this message | ||
Because I'd like to strip much less tags than I'd like to remain in the HTML
file (and I suppose there are more people who would like such a feature) I'd
suggest to accompany strip_tags with its counterpart:
string strip_tags (string str [, string allowable_tags])
in the following way (more or less):
string strip_some_tags (string str [, string not_allowable_tags])
or enhance strip_tags in order to allow only these tags which are not
allowed to exist in the resulting string.
What do you think about it? :-)
Maciek