Link hrefs are the short url, and title is the long url

This commit is contained in:
Craig Andrews 2009-09-22 11:12:55 -04:00
parent ebb52efeb4
commit f3c8fcccc1

View File

@ -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;