PHP 4.0 Bug #6224: strip_tags problem
| From: | adrox at home dot com | Date: | Thu, 17 Aug 2000 20:46:20 +0000 |
| Subject: | PHP 4.0 Bug #6224: strip_tags problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29348@lists.php.net to get a copy of this message | ||
From: adrox@home.com
Operating system: Windows 98
PHP version: 4.0.1pl2
PHP Bug Type: Scripting Engine problem
Bug description: strip_tags problem
I was trying to strip all html tags from a file except for <img> tags so i used:
$html = strip_tags($html,"<img>");
This worked fine except that it stripped anything that was enclosed in brackets () from the image
source. I easily got around that but it's a small bug I believe.