summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-08-03 16:18:33 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-24 14:54:17 +0200
commit5e9f92e5dd83a381c60d2c813dd51a1e07e8f2f7 (patch)
tree430f86430f71ccd2b02bdbd8bd3940d5144545d2
parent646bc1fc24cab27da8f616b439ca6940e31fbbf9 (diff)
downloadnextcloud-server-5e9f92e5dd83a381c60d2c813dd51a1e07e8f2f7.tar.gz
nextcloud-server-5e9f92e5dd83a381c60d2c813dd51a1e07e8f2f7.zip
Calendar: remove double html encoding
-rw-r--r--apps/calendar/lib/app.php4
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;