From 6e12b5ec08783e04346c28c8867666bbe7be5817 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 14 Mar 2024 13:35:21 +0000 Subject: fix shortnames replaced in html tags --- include/text.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/text.php b/include/text.php index acfef2d62..713911af2 100644 --- a/include/text.php +++ b/include/text.php @@ -1432,7 +1432,7 @@ function smilies($s, $sample = false) { $class .= ' single-emoji'; } - $img = '' . $emoji['shortname'] . ''; + $img = '' . trim($emoji['shortname'], ':') . ''; string_replace($emoji['shortname'], $img, $s); } -- cgit v1.2.3