mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Fix old formats folding issue
This commit is contained in:
parent
d75b2d3d12
commit
5cbb080b42
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user