Commit f3c8fccc authored by Craig Andrews's avatar Craig Andrews

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

parent ebb52efe
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment