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:26:05 +0200 |
commit | 758ae42df0126f5d8ae8582b0525d7364e74f696 (patch) | |
tree | bd5c63c3aa3a9f394640d90118d1b791f5e7c892 /apps | |
parent | 0970a3c60edff5a1fca00116c5f66691c1b74e13 (diff) | |
download | nextcloud-server-758ae42df0126f5d8ae8582b0525d7364e74f696.tar.gz nextcloud-server-758ae42df0126f5d8ae8582b0525d7364e74f696.zip |
Calendar: remove double html encoding
Diffstat (limited to 'apps')
-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 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; |