note 50047 deleted from function.strip-tags by danbrown

From: Date: Sun, 17 May 2009 16:03:48 +0000
Subject: note 50047 deleted from function.strip-tags by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-154751@lists.php.net to get a copy of this message
Note Submitter: christianbecke at web dot de ---- to kangaroo232002 at yahoo dot co dot uk: As far as I understand, what you report is not a bug in strip_tags(), but a bug in your HTML. You should use alt='Go >' instead of alt='Go >'. I suppose your HTML diplays allright in browsers, but that does not mean it's correct. It just shows that browsers are more graceful concerning characters not properly escaped as entities than strip_tags() is.

« previous php.notes (#154751) next »