don't escape new lines in vevent description
This ended up as "\n\\n" in the data base and the escaped \n was also visible in the edit form. Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
parent
652b744201
commit
761ba4a379
|
@ -488,8 +488,7 @@ class OC_Calendar_Object{
|
||||||
}
|
}
|
||||||
|
|
||||||
if($description != ""){
|
if($description != ""){
|
||||||
$des = str_replace("\n","\\n", $description);
|
$vevent->DESCRIPTION = $description;
|
||||||
$vevent->DESCRIPTION = $des;
|
|
||||||
}else{
|
}else{
|
||||||
unset($vevent->DESCRIPTION);
|
unset($vevent->DESCRIPTION);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue