diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-06-20 16:44:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-06-20 18:45:12 +0200 |
commit | 109c66aea366c4689ce0d79c34a58cd13ceefac9 (patch) | |
tree | 57451684c30fc347a3c1a466288745f2e5cedc20 | |
parent | 1a76e83fa45fce6dbeec14ee1810a26f9ab63cfc (diff) | |
download | volse-hubzilla-109c66aea366c4689ce0d79c34a58cd13ceefac9.tar.gz volse-hubzilla-109c66aea366c4689ce0d79c34a58cd13ceefac9.tar.bz2 volse-hubzilla-109c66aea366c4689ce0d79c34a58cd13ceefac9.zip |
apply calendar encoding fixes to mod cal
(cherry picked from commit 24b0f8e27e2f5e035b9a8f488bae8d79a10398a4)
-rw-r--r-- | Zotlabs/Module/Cal.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Cal.php b/Zotlabs/Module/Cal.php index a84116e76..07bee38bd 100644 --- a/Zotlabs/Module/Cal.php +++ b/Zotlabs/Module/Cal.php @@ -161,12 +161,12 @@ class Cal extends Controller { 'end' => $end, 'drop' => $drop, 'allDay' => (($rr['adjust']) ? 0 : 1), - 'title' => htmlentities($rr['summary'], ENT_COMPAT, 'UTF-8', false), + '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']), |