Revert commit 8340520589 and implement the fix in more sane way

This commit is contained in:
Hadi Nategh 2017-06-14 14:52:31 +02:00
parent 6613a21c7d
commit 57f9dfacff

View File

@ -1936,13 +1936,6 @@ class calendar_uiforms extends calendar_ui
}
$event = array_shift($events);
/* Encode html specialchars (eg. < to &lt;) because client-side core
* widget runs decoding for the value causes elimination of none
* encoded html chars. This will help included links inside description
* get displayed if activate_links = ture for description widget is set.
*/
if ($event['description'] != '') $event['description'] = htmlspecialchars($event['description']);
// convert event from servertime returned by calendar_ical to user-time
$this->bo->server2usertime($event);