1
0
Fork 0
forked from mirror/pixelfed

Update Autolinker

This commit is contained in:
Daniel Supernault 2019-06-27 00:02:44 -06:00
parent 0d714b5563
commit ef26fec305
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -718,7 +718,7 @@ class Autolink extends Regex
// Replace the username
$linkText = Str::startsWith($screen_name, '@') ? $screen_name : '@'.$screen_name;
$class = $this->class_user;
$url = $this->url_base_user.$screen_name;;
$url = $this->url_base_user . $screen_name;
}
if (!empty($class)) {
$attributes['class'] = $class;