Lazy hashtag linking fix
rodzic
838c071cee
commit
554010094e
|
@ -502,7 +502,7 @@ HTML;
|
|||
// Add HTML links for hashtags into the text
|
||||
$content = preg_replace(
|
||||
$hashtag_pattern,
|
||||
"<a href='https://{$server}/tag/$1'>#$1</a>",
|
||||
" <a href='https://{$server}/tag/$1'>#$1</a>",
|
||||
$content
|
||||
);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue