From 761ba4a379fd44933eaf7357133c850322a0591c Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 22 Sep 2011 21:43:30 +0200 Subject: 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 --- apps/calendar/lib/object.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/calendar') diff --git a/apps/calendar/lib/object.php b/apps/calendar/lib/object.php index c4878dac651..98e17ac81b6 100644 --- a/apps/calendar/lib/object.php +++ b/apps/calendar/lib/object.php @@ -488,8 +488,7 @@ class OC_Calendar_Object{ } if($description != ""){ - $des = str_replace("\n","\\n", $description); - $vevent->DESCRIPTION = $des; + $vevent->DESCRIPTION = $description; }else{ unset($vevent->DESCRIPTION); } -- cgit v1.2.3