note 36086 rejected from function.strip-tags by pollita
| From: | pollita@php.net | Date: | Thu, 25 Sep 2003 14:22:07 +0000 |
| Subject: | note 36086 rejected from function.strip-tags by pollita | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57103@lists.php.net to get a copy of this message | ||
Note Submitter: schwarzenneger@hotmail.com
----
Seems like the tags aren't really *stripped*, they get replaced by spaces. You can do a
<? preg_replace('/\s+/s', ' ', $my_text); ?>
to remove redundant whitespace and reduce the size of the stripped string.