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

From: Date: Tue, 31 Dec 2002 15:19:17 +0000
Subject: #21311 [Opn->Csd]: strip_tags strips everything after <!DOCTYPE
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28848@lists.php.net to get a copy of this message
ID: 21311 Updated by: rasmus@php.net Reported By: work@sopnet.ch -Status: Open +Status: Closed Bug Type: Strings related Operating System: WinXP PHP Version: 4.3.0 New Comment: Fixed in CVS Previous Comments: ------------------------------------------------------------------------ [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 (#28848) next »