#21311 [Com]: strip_tags strips everything after <!DOCTYPE
| From: | devilkin at gmx dot net | Date: | Fri, 03 Jan 2003 10:32:49 +0000 |
| Subject: | #21311 [Com]: strip_tags strips everything after <!DOCTYPE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28959@lists.php.net to get a copy of this message | ||
ID: 21311
Comment by: devilkin@gmx.net
Reported By: work@sopnet.ch
Status: Closed
Bug Type: Strings related
Operating System: WinXP
PHP Version: 4.3.0
New Comment:
Was this fixed in the 4.4 or in 4.3?
Previous Comments:
------------------------------------------------------------------------
[2002-12-31 09:19:16] rasmus@php.net
Fixed in CVS
------------------------------------------------------------------------
[2002-12-31 07:32:40] work@sopnet.ch
$str1 = "Hello <!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0
Transitional//EN\"> World.";
$str1 = strip_tags($str1);
After this $str1 contains only 'Hello' and not 'Hello World.'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21311&edit=1