]> git.mxchange.org Git - friendica.git/commitdiff
Update Event.php
authorMatthias Moritz <moritz370@googlemail.com>
Fri, 2 Dec 2022 19:42:16 +0000 (20:42 +0100)
committerMatthias Moritz <moritz370@googlemail.com>
Fri, 2 Dec 2022 19:42:16 +0000 (20:42 +0100)
fixing double encoding issue in event view.

fixes #12308

src/Model/Event.php

index 5d71dd16af68594ff0c88b2c2232889ab393fc6f..0bba1f7cd690624e5666fab2f3ea28268f534ccb 100644 (file)
@@ -673,7 +673,7 @@ class Event
 
                $event['author-link'] = Contact::magicLink($event['author-link']);
                $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']));
 
                return [