diff --git a/Web/Models/Entities/Traits/TRichText.php b/Web/Models/Entities/Traits/TRichText.php index 75fbee5b..0ffa2363 100644 --- a/Web/Models/Entities/Traits/TRichText.php +++ b/Web/Models/Entities/Traits/TRichText.php @@ -42,7 +42,7 @@ trait TRichText $link = str_replace(";", ";", $link); $rel = $this->isAd() ? "sponsored" : "ugc"; - $server_domain = str_replace(':' . $_SERVER['SERVER_PORT'], '', $_SERVER['HTTP_HOST']); + /*$server_domain = str_replace(':' . $_SERVER['SERVER_PORT'], '', $_SERVER['HTTP_HOST']); if(str_contains($link, $server_domain)) { $replaced_link = str_replace(':' . $_SERVER['SERVER_PORT'], '', $link); $replaced_link = str_replace($server_domain, '', $replaced_link); @@ -50,7 +50,7 @@ trait TRichText return "$link" . htmlentities($matches[4]); } - $link = htmlentities(urldecode($link)); + $link = htmlentities(urldecode($link));*/ return "$link" . htmlentities($matches[4]); }),