Allow more WS in line folding of new formats

This commit is contained in:
Jörg Lehrke 2010-04-14 14:41:10 +00:00
parent a1332b56cc
commit f802fdd315

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;