Browse Source

Update Autolinker

Daniel Supernault 6 years ago
parent
commit
ef26fec305
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Util/Lexer/Autolink.php

+ 1 - 1
app/Util/Lexer/Autolink.php

@@ -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;