From 68fcd4da9353ddebc11783d483f8b7b49e1faf57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Tue, 9 Feb 2010 10:47:50 +0000 Subject: [PATCH] Fix old formats' folding issue --- phpgwapi/inc/horde/Horde/iCalendar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/horde/Horde/iCalendar.php b/phpgwapi/inc/horde/Horde/iCalendar.php index 80714c73d8..b6140700a7 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar.php +++ b/phpgwapi/inc/horde/Horde/iCalendar.php @@ -604,7 +604,7 @@ class Horde_iCalendar { while (preg_match_all('/^([^:]+;\s*((ENCODING=)?QUOTED-PRINTABLE|ENCODING=[Q|q])(.*=\r?\n)+(.*[^=])?\r?\n)/mU', $vCal, $matches)) { foreach ($matches[1] as $s) { if ($this->isOldFormat()) { - $r = preg_replace('/=\r?\n([ \t])/', '\1', $s); + $r = preg_replace('/=\r?\n([ \t])?/', '\1', $s); } else { $r = preg_replace('/=\r?\n[ \t]*/', '', $s); }