diff -urN horde.orig/lib/Horde/iCalendar.php horde/lib/Horde/iCalendar.php
--- horde.orig/lib/Horde/iCalendar.php	2008-09-30 13:17:06.000000000 +0100
+++ horde/lib/Horde/iCalendar.php	2008-09-30 13:18:39.000000000 +0100
@@ -592,7 +592,8 @@
         }
 
         // Unfold any folded lines.
-        $vCal = preg_replace('/[\r\n]+[ \t]/', '', $vCal);
+        $vCal = preg_replace('/[\r\n]+[ \t]+/', '', $vCal);
+        $vCal = preg_replace('/\r\n\r\n/', "\r\n", $vCal);
 
         // Parse the remaining attributes.
         if (preg_match_all('/^((?:[^":]+|(?:"[^"]*")+)*):([^\r\n]*)\r?$/m', $vCal, $matches)) {