Bug #5975 Updated: version of strip_tags() that specifies tags to strip (instead of tags to keep)

From: Date: Sun, 28 Apr 2002 22:15:27 +0000
Subject: Bug #5975 Updated: version of strip_tags() that specifies tags to strip (instead of tags to keep)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6366@lists.php.net to get a copy of this message
ID: 5975 Updated by: jimw@php.net -Summary: enhancement of strip_tags needed Reported By: muhlig@us.edu.pl Status: Open Bug Type: Feature/Change Request Operating System: Solaris 2.6 PHP Version: 4.0 New Comment: updating summary. Previous Comments: ------------------------------------------------------------------------ [2001-02-10 14:21:41] jimw@php.net refiled against 4.0. ------------------------------------------------------------------------ [2000-08-04 20:51:01] muhlig@us.edu.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/?id=5975&edit=1

« previous php.bugs (#6366) next »