note 66483 deleted from function.strip-tags by danbrown

From: Date: Sun, 17 May 2009 16:00:15 +0000
Subject: note 66483 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154736@lists.php.net to get a copy of this message
Note Submitter: Sébastien ---- hum, it seems that your function "theRealStripTags" won't have the right behavior in some cases, for example: <?php theRealStripTags("<!-- I want to put a <div>tag</div> -->"); theRealStripTags("<!-- Or a carrot > -->"); theRealStripTags("<![CDATA[what about this! It's to protect from HTML characters like <tag>, > and so on in XML, no?]]> -->"); ?>

« previous php.notes (#154736) next »