From: Craig Andrews Date: Tue, 22 Sep 2009 15:12:55 +0000 (-0400) Subject: Link hrefs are the short url, and title is the long url X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f3c8fcccc1c90b6741a15963f3c6429a906bc97c;p=quix0rs-gnu-social.git Link hrefs are the short url, and title is the long url --- diff --git a/lib/util.php b/lib/util.php index 018b7cad51..bd15a56220 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;