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

 ID:                 5975
 Updated by:         johan...@php.net
 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
+Status:             Duplicate
 Type:               Feature/Change Request
 Package:            Strings related
 Operating System:   *
 PHP Version:        *
 Block user comment: N
 Private report:     N

 New Comment:

See bug #23723


Previous Comments:
------------------------------------------------------------------------
[2011-02-26 20:40:33] jthijssen at noxlogic dot nl

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

------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=5975&edit=1

Reply via email to