* Calendar/CalDAV: fixed wrong line-defolding, if folding occured in whitespace

reverting r29794, as it "eat" to much whitespace
This commit is contained in:
Ralf Becker 2011-05-26 15:35:07 +00:00
parent 89a1d1d419
commit 1e851eaab6

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;