forked from GNUsocial/gnu-social
Make link href the long url so users can tell where links are going
This commit is contained in:
parent
5cccbe987f
commit
ebb52efeb4
@ -536,7 +536,7 @@ function common_linkify($url) {
|
||||
throw new ServerException("Can't linkify url '$url'");
|
||||
}
|
||||
|
||||
$attrs = array('href' => $canon, 'rel' => 'external');
|
||||
$attrs = array('href' => $longurl, 'rel' => 'external');
|
||||
|
||||
$is_attachment = false;
|
||||
$attachment_id = null;
|
||||
|
Loading…
Reference in New Issue
Block a user