Added link encoding

This commit is contained in:
Michael 2020-09-09 14:37:58 +00:00
parent b248470376
commit 6c5af09589

View File

@ -730,7 +730,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
$author = ['uid' => 0, 'id' => $row['author-id'],
'network' => $row['author-network'], 'url' => $row['author-link']];
$url = '<a href="'. Contact::magicLinkByContact($author) .'">' . htmlentities($row['author-name']) . '</a>';
$url = '<a href="'. htmlentities(Contact::magicLinkByContact($author)) .'">' . htmlentities($row['author-name']) . '</a>';
$actor = ['url' => $url, 'link' => $row['author-link'], 'avatar' => $row['author-avatar'], 'name' => $row['author-name']];
$received = $row['received'];