Allow more WS in line folding of new formats

This commit is contained in:
Jörg Lehrke 2010-04-14 14:43:35 +00:00
parent 8b634510aa
commit 734dc8e859

View File

@ -620,7 +620,7 @@ class Horde_iCalendar {
// old formats force folding at whitespace which must therefore be preserved
$vCal = preg_replace('/[\r\n]+([ \t])/', '\1', $vCal);
} else {
$vCal = preg_replace('/[\r\n]+[ \t]/', '', $vCal);
$vCal = preg_replace('/[\r\n]+[ \t]+/', '', $vCal);
}
$isDate = false;