aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-06-20 16:34:44 +0000
committerMario <mario@mariovavti.com>2019-06-20 18:40:57 +0200
commit1a76e83fa45fce6dbeec14ee1810a26f9ab63cfc (patch)
tree2a811529b5d10e6b858df2f32ef44a8678d18661 /Zotlabs
parent2fa788b01b355675266a6af9cec694cdd27ce6ec (diff)
downloadvolse-hubzilla-1a76e83fa45fce6dbeec14ee1810a26f9ab63cfc.tar.gz
volse-hubzilla-1a76e83fa45fce6dbeec14ee1810a26f9ab63cfc.tar.bz2
volse-hubzilla-1a76e83fa45fce6dbeec14ee1810a26f9ab63cfc.zip
fix encoding also for description and location
(cherry picked from commit f37387de8061aab7221dde7697402be564d596d5)
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Channel_calendar.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Channel_calendar.php b/Zotlabs/Module/Channel_calendar.php
index bb0c9f857..109b18f37 100644
--- a/Zotlabs/Module/Channel_calendar.php
+++ b/Zotlabs/Module/Channel_calendar.php
@@ -381,12 +381,12 @@ class Channel_calendar extends \Zotlabs\Web\Controller {
'end' => $end,
'drop' => $drop,
'allDay' => (($rr['adjust']) ? 0 : 1),
- 'title' => html_entity_decode($rr['summary'],ENT_COMPAT,'UTF-8'),
+ 'title' => html_entity_decode($rr['summary'], ENT_COMPAT, 'UTF-8'),
'editable' => $edit ? true : false,
'item' => $rr,
'plink' => [$rr['plink'], t('Link to source')],
- 'description' => htmlentities($rr['description'], ENT_COMPAT, 'UTF-8', false),
- 'location' => htmlentities($rr['location'], ENT_COMPAT, 'UTF-8', false),
+ 'description' => html_entity_decode($rr['description'], ENT_COMPAT, 'UTF-8'),
+ 'location' => html_entity_decode($rr['location'], ENT_COMPAT, 'UTF-8'),
'allow_cid' => expand_acl($rr['allow_cid']),
'allow_gid' => expand_acl($rr['allow_gid']),
'deny_cid' => expand_acl($rr['deny_cid']),