forked from GNUsocial/gnu-social
Link hrefs are the short url, and title is the long url
This commit is contained in:
parent
ebb52efeb4
commit
f3c8fcccc1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user