Edit report at http://bugs.php.net/bug.php?id=5975&edit=1

 ID:                 5975
 Comment by:         jthijssen at noxlogic dot nl
 Reported by:        muhlig at us dot edu dot pl
 Summary:            version of strip_tags() that specifies tags to strip
                     (instead of tags to keep)
 Status:             Open
 Type:               Feature/Change Request
 Package:            Strings related
 Operating System:   *
 PHP Version:        *
 Block user comment: N
 Private report:     N

 New Comment:

This bug is a duplicate of #23723. A patch for this feature is added to
that bug.


Previous Comments:
------------------------------------------------------------------------
[2000-08-04 20:51:01] muhlig at us dot edu dot pl

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.





------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=5975&edit=1

Reply via email to