From 5e9f92e5dd83a381c60d2c813dd51a1e07e8f2f7 Mon Sep 17 00:00:00 2001 From: Bart Visscher Date: Fri, 3 Aug 2012 16:18:33 +0200 Subject: [PATCH] Calendar: remove double html encoding --- apps/calendar/lib/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 06f85d32250..6c55bd19884 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; -- 2.39.5