X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcommon.php;h=6b6090e19beedef238ac97652a75a628e5ef4019;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=5d98f07321becec12fe83c45abca244ec5e2e362;hpb=acaee626f5f23f4c1dc19c31896a0797a251b58f;p=friendica.git diff --git a/mod/common.php b/mod/common.php index 5d98f07321..6b6090e19b 100644 --- a/mod/common.php +++ b/mod/common.php @@ -48,7 +48,7 @@ function common_content(App $a) if (DBA::isResult($contact)) { $vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate("vcard-widget.tpl"), [ - '$name' => htmlentities($contact['name']), + '$name' => $contact['name'], '$photo' => $contact['photo'], 'url' => 'contact/' . $cid ]); @@ -117,11 +117,11 @@ function common_content(App $a) $photo_menu = Model\Contact::photoMenu($common_friend); $entry = [ - 'url' => $common_friend['url'], + 'url' => Model\Contact::magicLink($common_friend['url']), 'itemurl' => defaults($contact_details, 'addr', $common_friend['url']), 'name' => $contact_details['name'], 'thumb' => ProxyUtils::proxifyUrl($contact_details['thumb'], false, ProxyUtils::SIZE_THUMB), - 'img_hover' => htmlentities($contact_details['name']), + 'img_hover' => $contact_details['name'], 'details' => $contact_details['location'], 'tags' => $contact_details['keywords'], 'about' => $contact_details['about'],