diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-03 16:18:33 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-03 16:18:33 +0200 |
commit | b12ed88794bfb3c58a32a5fbf34d42cd64b270d7 (patch) | |
tree | 2f4cc84cfa90da5dca74096eace20ca029838320 | |
parent | 599741bdd6434f8e0fba2aa5f9b40b0965c39bd8 (diff) | |
download | nextcloud-server-b12ed88794bfb3c58a32a5fbf34d42cd64b270d7.tar.gz nextcloud-server-b12ed88794bfb3c58a32a5fbf34d42cd64b270d7.zip |
Calendar: remove double html encoding
-rw-r--r-- | apps/calendar/lib/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 29e5ab5b0c8..8bdb54f4867 100644 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -396,8 +396,8 @@ class OC_Calendar_App{ $last_modified = @$vevent->__get('LAST-MODIFIED'); $lastmodified = ($last_modified)?$last_modified->getDateTime()->format('U'):0; $staticoutput = 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, 'allDay'=>$allday); if(OC_Calendar_Object::isrepeating($id) && OC_Calendar_Repeat::is_cached_inperiod($event['id'], $start, $end)){ |