From: Michael M Slusarz Date: Thu, 4 Mar 2010 21:30:02 +0000 (-0700) Subject: Fix removal of superfluous whitespace X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f432ba7dcdeb500167901cc3bfdc6fea66733f02;p=horde.git Fix removal of superfluous whitespace --- diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Utils.php b/framework/Imap_Client/lib/Horde/Imap/Client/Utils.php index c00b34b4b..8232348f3 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Utils.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Utils.php @@ -189,7 +189,7 @@ class Horde_Imap_Client_Utils $str = Horde_Mime::decode($str, 'UTF-8'); // Rule 1b: Remove superfluous whitespace. - $str = preg_replace("/\s{2,}/", '', $str); + $str = preg_replace("/\s{2,}/", ' ', $str); if (!$str) { return '';