Update Event.php

fixing double encoding issue in event view.

fixes #12308
This commit is contained in:
Matthias Moritz 2022-12-02 20:42:16 +01:00
parent e32654381b
commit 8b2a3805b6

View file

@ -673,7 +673,7 @@ class Event
$event['author-link'] = Contact::magicLink($event['author-link']); $event['author-link'] = Contact::magicLink($event['author-link']);
$event['summary'] = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['summary'])); $event['summary'] = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['summary']));
$event['desc'] = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['desc'])); $event['desc'] = Strings::escapeHtml($event['desc']);
$event['location'] = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['location'])); $event['location'] = BBCode::convertForUriId($event['uri-id'], Strings::escapeHtml($event['location']));
return [ return [