#21311 [Csd]: strip_tags strips everything after <!DOCTYPE

From: Date: Fri, 03 Jan 2003 10:33:43 +0000
Subject: #21311 [Csd]: strip_tags strips everything after <!DOCTYPE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28960@lists.php.net to get a copy of this message
ID: 21311 Updated by: derick@php.net Reported By: work@sopnet.ch Status: Closed Bug Type: Strings related Operating System: WinXP PHP Version: 4.3.0 New Comment: Trick questions: When was PHP 4.3.0 released? When did you report this bug? Previous Comments: ------------------------------------------------------------------------ [2003-01-03 04:32:48] devilkin@gmx.net Was this fixed in the 4.4 or in 4.3? ------------------------------------------------------------------------ [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

« previous php.bugs (#28960) next »