From f432ba7dcdeb500167901cc3bfdc6fea66733f02 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 4 Mar 2010 14:30:02 -0700 Subject: [PATCH] Fix removal of superfluous whitespace --- framework/Imap_Client/lib/Horde/Imap/Client/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ''; -- 2.11.0