Include patched version of Sabre\VObject\Property (#2442)

This commit is contained in:
Thomas Bruederli 2014-01-14 11:23:52 +01:00
parent 617277a4f4
commit cbbcba9a2d
2 changed files with 11 additions and 0 deletions

View file

@ -195,6 +195,15 @@ class Property extends Node {
'\n',
'',
);
// avoid double-escaping of \, and \; from Compound properties
if (method_exists($this, 'setParts')) {
$src[] = '\\\\,';
$out[] = '\\,';
$src[] = '\\\\;';
$out[] = '\\;';
}
$str.=':' . str_replace($src, $out, $this->value);
$out = '';

View file

@ -8,3 +8,5 @@ tar xf sabre-vobject-2.1.0.tar.gz
mv sabre-vobject-2.1.0/lib/* .
rm -rf sabre-vobject-2.1.0
cd lib/Sabre/VObject && wget --no-check-certificate -O Property.php https://raw2.github.com/thomascube/sabre-vobject/84b64c65f9a94f7ec5a5e327bab3cc1335dd613c/lib/Sabre/VObject/Property.php