From 56fe715bce711a1164e6eb682bb7637ac0bb9821 Mon Sep 17 00:00:00 2001 From: celestora Date: Sat, 25 Feb 2023 18:07:29 +0200 Subject: [PATCH] Fix ';' error in posts --- Web/Models/Entities/Traits/TRichText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Web/Models/Entities/Traits/TRichText.php b/Web/Models/Entities/Traits/TRichText.php index 05ab2dd4..ed1c8df0 100644 --- a/Web/Models/Entities/Traits/TRichText.php +++ b/Web/Models/Entities/Traits/TRichText.php @@ -38,7 +38,7 @@ trait TRichText $href = str_replace("#", "#", $matches[1]); $href = rawurlencode(str_replace(";", ";", $matches[1])); $link = str_replace("#", "#", $matches[3]); - $link = str_replace(";", ";", $matches[3]); + $link = str_replace(";", ";", $link); $rel = $this->isAd() ? "sponsored" : "ugc"; return "$link" . htmlentities($matches[4]);