Bug #16724: strip_tags function
| From: | tobaco at libero dot it | Date: | Sun, 21 Apr 2002 19:08:48 +0000 |
| Subject: | Bug #16724: strip_tags function | ||
| Groups: | php.bugs php.doc | ||
| Request: | Send a blank email to php-bugs+get-5522@lists.php.net to get a copy of this message | ||
From: tobaco@libero.it
Operating system: linux
PHP version: 4.2.0
PHP Bug Type: Documentation problem
Bug description: strip_tags function
For esample:
$HtmlText =
strip_tags($HtmlText,'<b><i><p><table><td><tr>');
If your $HtmlText is like this:
.....
<tr>
<td><font size="5">Hello!!</font></td>
</tr>
.....
the font tag can not be stripped.
I think that all tags present in allowable tags not are stripped.
This is not present in manual reference
Thank u for all
--
Edit bug report at http://bugs.php.net/?id=16724&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16724&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16724&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16724&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16724&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16724&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16724&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16724&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16724&r=submittedtwice