summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-14 15:45:57 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-14 15:45:57 -0500
commit36aff8bafb2ece2fca89da0c03b31d85e71fdb6f (patch)
treec99f7dfb17632538f1e2f238e96085f6cd69845b /lib
parentb6820b4f61227d016386f74b494b1be0b19e3412 (diff)
get rid of hcard in @-replies
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz
Diffstat (limited to 'lib')
-rw-r--r--lib/util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/util.php b/lib/util.php
index cc294b8f2..8eeda1115 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -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;
}
}