Re: PHP editor
| From: | Greg Donald | Date: | Thu, 15 Apr 2004 17:47:47 +0000 |
| Subject: | Re: PHP editor | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183512@lists.php.net to get a copy of this message | ||
On Thursday 15 April 2004 12:32 pm, Curt Zirzow wrote:
> um.. preg_replace('/\s+/m', ' ', $html);
>
> <pre>
> btw,
> blindly removing space (even from html) isn't a wise
> thing todo.
>
> </pre>
The function I posted only removes tabs, newlines, and carriage returns. It
does not remove space characters. Your example seems to be the dangerous
one.
--
Greg Donald
destiney@destiney.com