note 15533 deleted from function.strip-tags by jimw

From: Date: Mon, 29 Oct 2001 01:35:24 +0000
Subject: note 15533 deleted from function.strip-tags by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19549@lists.php.net to get a copy of this message
I believe that example submitted by toni@dse.nl has a mistake. In order to convert back to a link like the one below: <a href="http://something">something</a> this needs to be used : $html = preg_replace("/&lt;(($tags).*?)&gt;/i", '<\1>', $html); instead of what he has: $html = preg_replace("/&lt;($tags.*?)&gt;/i", '<\1>', $html);

« previous php.notes (#19549) next »