mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-26 08:49:51 +00:00
Update Autolinker
This commit is contained in:
parent
0d714b5563
commit
ef26fec305
1 changed files with 1 additions and 1 deletions
|
@ -718,7 +718,7 @@ class Autolink extends Regex
|
||||||
// Replace the username
|
// Replace the username
|
||||||
$linkText = Str::startsWith($screen_name, '@') ? $screen_name : '@'.$screen_name;
|
$linkText = Str::startsWith($screen_name, '@') ? $screen_name : '@'.$screen_name;
|
||||||
$class = $this->class_user;
|
$class = $this->class_user;
|
||||||
$url = $this->url_base_user.$screen_name;;
|
$url = $this->url_base_user . $screen_name;
|
||||||
}
|
}
|
||||||
if (!empty($class)) {
|
if (!empty($class)) {
|
||||||
$attributes['class'] = $class;
|
$attributes['class'] = $class;
|
||||||
|
|
Loading…
Reference in a new issue