events: don't use htmlentities on local (hz) event titles as they are not being used in textareas and umlauts for instance are getting mangled on the calendar display

(cherry picked from commit c1cc76119c)
This commit is contained in:
zotlabs 2019-06-20 04:41:46 +00:00 committed by Mario
parent f046a34d34
commit 8aefbd911b
2 changed files with 4 additions and 3 deletions

View File

@ -381,7 +381,7 @@ class Channel_calendar extends \Zotlabs\Web\Controller {
'end' => $end,
'drop' => $drop,
'allDay' => (($rr['adjust']) ? 0 : 1),
'title' => htmlentities($rr['summary'], ENT_COMPAT, 'UTF-8', false),
'title' => $rr['summary'],
'editable' => $edit ? true : false,
'item' => $rr,
'plink' => [$rr['plink'], t('Link to source')],

View File

@ -668,6 +668,7 @@ class Events extends \Zotlabs\Web\Controller {
'html'=>$html,
'plink' => array($rr['plink'],t('Link to Source'),'',''),
);
}
}