]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
get rid of hcard in @-replies
authorEvan Prodromou <evan@prodromou.name>
Sun, 14 Dec 2008 20:45:57 +0000 (15:45 -0500)
committerEvan Prodromou <evan@prodromou.name>
Sun, 14 Dec 2008 20:45:57 +0000 (15:45 -0500)
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz

lib/util.php

index cc294b8f282a0d58392c0978b65eb4235226db9e..8eeda11156b164bb0c2184ea89b8832b01ab6d76 100644 (file)
@@ -936,9 +936,9 @@ function common_at_link($sender_id, $nickname) {
        $sender = Profile::staticGet($sender_id);
        $recipient = common_relative_profile($sender, common_canonical_nickname($nickname));
        if ($recipient) {
-               return '<span class="vcard"><a class="fn nickname url atlink" rel="reply" href="'.htmlspecialchars($recipient->profileurl).'">'.$nickname.'</a></span>';
+               return '<a href="'.htmlspecialchars($recipient->profileurl).'" class="atlink">'.$nickname.'</a>';
        } else {
-               return '<span class="vcard"><span class="fn nickname">'.$nickname.'</span></span>';
+               return $nickname;
        }
 }