note 50047 added to function.strip-tags

From: Date: Wed, 16 Feb 2005 14:34:41 +0000
Subject: note 50047 added to function.strip-tags
Groups: php.notes 
Request: Send a blank email to php-notes+get-85109@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.strip-tags.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+50047 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+50047&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+50047&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+50047&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+50047&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+50047&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+50047&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#85109) next »