summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-09-22 11:12:55 -0400
committerCraig Andrews <candrews@integralblue.com>2009-09-22 11:12:55 -0400
commitf3c8fcccc1c90b6741a15963f3c6429a906bc97c (patch)
treef937a172c3c6e6e3e63203b93e0ed40ce3274425 /lib/util.php
parentebb52efeb48212626d41a79b9d7e4f505323d074 (diff)
Link hrefs are the short url, and title is the long url
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util.php b/lib/util.php
index 018b7cad5..bd15a5622 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -536,7 +536,7 @@ function common_linkify($url) {
throw new ServerException("Can't linkify url '$url'");
}
- $attrs = array('href' => $longurl, 'rel' => 'external');
+ $attrs = array('href' => $canon, 'title' => $longurl, 'rel' => 'external');
$is_attachment = false;
$attachment_id = null;