mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-18 11:21:23 +01:00
patches from JVL and some debug output removed
This commit is contained in:
parent
f154645215
commit
785391f71d
@ -799,7 +799,11 @@ class Horde_iCalendar {
|
|||||||
. $this->_quotedPrintableEncode($value)
|
. $this->_quotedPrintableEncode($value)
|
||||||
. $this->_newline;
|
. $this->_newline;
|
||||||
} else {
|
} else {
|
||||||
$attr_string = "$name$params_str:$value";
|
# JVL: prevent : for empty values
|
||||||
|
# $attr_string = "$name$params_str:$value";
|
||||||
|
$attr_string = "$name$params_str";
|
||||||
|
$attr_string .= (!empty($value)) ? ":$value" : ';';
|
||||||
|
|
||||||
$result .= $this->_foldLine($attr_string) . $this->_newline;
|
$result .= $this->_foldLine($attr_string) . $this->_newline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1132,6 +1136,12 @@ class Horde_iCalendar {
|
|||||||
$line = (strlen($line) <= $cutPoint)
|
$line = (strlen($line) <= $cutPoint)
|
||||||
? ''
|
? ''
|
||||||
: substr($line, $cutPoint);
|
: substr($line, $cutPoint);
|
||||||
|
|
||||||
|
if (strlen($line) < 75) {
|
||||||
|
$foldedline .= $this->_newline . ' ' . $line;
|
||||||
|
$line = '';
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
return $foldedline;
|
return $foldedline;
|
||||||
}
|
}
|
||||||
|
@ -180,7 +180,7 @@ class XML_WBXML_Decoder extends XML_WBXML_ContentHandler {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->_attributeDTD = $this->_tagDTD;
|
$this->_attributeDTD = $this->_tagDTD;
|
||||||
print "starting at: ".$this->_strpos."\n";
|
|
||||||
while (empty($this->_error) && $this->_strpos < strlen($wbxml)) {
|
while (empty($this->_error) && $this->_strpos < strlen($wbxml)) {
|
||||||
$this->_decode($wbxml);
|
$this->_decode($wbxml);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user