Lazy hashtag linking fix

merge-requests/5/head
Terence Eden 2024-02-17 21:00:36 +00:00
rodzic 838c071cee
commit 554010094e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -502,7 +502,7 @@ HTML;
// Add HTML links for hashtags into the text // Add HTML links for hashtags into the text
$content = preg_replace( $content = preg_replace(
$hashtag_pattern, $hashtag_pattern,
"<a href='https://{$server}/tag/$1'>#$1</a>", " <a href='https://{$server}/tag/$1'>#$1</a>",
$content $content
); );