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]);