]> source.dussan.org Git - nextcloud-server.git/commitdiff
Calendar: remove double html encoding
authorBart Visscher <bartv@thisnet.nl>
Fri, 3 Aug 2012 14:18:33 +0000 (16:18 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 12:54:17 +0000 (14:54 +0200)
apps/calendar/lib/app.php

index 06f85d32250b3f31f770be1ed2f9287e808d0cb0..6c55bd19884f23ad15457cb76ce656eea00e8658 100644 (file)
@@ -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;