note 2352 deleted from strip_tags by jimw

From: Date: Fri, 15 Jun 2001 01:05:44 +0000
Subject: note 2352 deleted from strip_tags by jimw
Groups: php.notes 
Request: Send a blank email to php-notes+get-14265@lists.php.net to get a copy of this message
Unfortunately this function is not very smart as it does not repalce tags intelligently. For example, it does not replace <P> with nn (or rnrn), it does not replace <BR> with "n", etc. so it is not great if you are trying to convert from HTML to something postable in Usenet say. It would be nice to see the state machine used actually listed so behaviour could be better predicted.

« previous php.notes (#14265) next »