diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 06f85d32250b3f31f770be1ed2f9287e808d0cb0..6c55bd19884f23ad15457cb76ce656eea00e8658 100644 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -383,8 +383,8 @@ class OC_Calendar_App{ $lastmodified = ($last_modified)?$last_modified->getDateTime()->format('U'):0; $output = array('id'=>(int)$event['id'], - 'title' => htmlspecialchars(($event['summary']!=NULL || $event['summary'] != '')?$event['summary']: self::$l10n->t('unnamed')), - 'description' => isset($vevent->DESCRIPTION)?htmlspecialchars($vevent->DESCRIPTION->value):'', + 'title' => ($event['summary']!=NULL || $event['summary'] != '')?$event['summary']: self::$l10n->t('unnamed'), + 'description' => isset($vevent->DESCRIPTION)?$vevent->DESCRIPTION->value:'', 'lastmodified'=>$lastmodified); $dtstart = $vevent->DTSTART;