note 53632 deleted from function.strip-tags by danbrown

From: Date: Sun, 17 May 2009 16:02:51 +0000
Subject: note 53632 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154746@lists.php.net to get a copy of this message
Note Submitter: php at scowen dot com ---- I have had a similar problem to kangaroo232002 at yahoo dot co dot uk when stripping tags from html containing javascript. The javascript can obviously contain '>' and '<' as comparison operators which are seen by strip_tags() as html tags - leading to undesired results. To christianbecke at web dot de - this can be third-party html, so although perhaps not always 'correct', that's how it is!

« previous php.notes (#154746) next »