diff --git a/src/comments.php b/src/comments.php index 53dc83ea..4f10c999 100644 --- a/src/comments.php +++ b/src/comments.php @@ -55,16 +55,15 @@ function comments_parse_for_display(string $text): string return $matches[0]; } - return '@%s', + $info['user_id'], + html_colour($info['user_colour'], [ 'color' => '%s', 'text-shadow' => '0 0 5px %s', - ]) - . '">@' - . $info['username'] - . ''; + ]), + $info['username'] + ); }, $text); }