mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 14:58:43 +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)) {
|
while (preg_match_all('/^([^:]+;\s*((ENCODING=)?QUOTED-PRINTABLE|ENCODING=[Q|q])(.*=\r?\n)+(.*[^=])?\r?\n)/mU', $vCal, $matches)) {
|
||||||
foreach ($matches[1] as $s) {
|
foreach ($matches[1] as $s) {
|
||||||
if ($this->isOldFormat()) {
|
if ($this->isOldFormat()) {
|
||||||
$r = preg_replace('/=\r?\n([ \t])/', '\1', $s);
|
$r = preg_replace('/=\r?\n([ \t])?/', '\1', $s);
|
||||||
} else {
|
} else {
|
||||||
$r = preg_replace('/=\r?\n[ \t]*/', '', $s);
|
$r = preg_replace('/=\r?\n[ \t]*/', '', $s);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user