NOW MANAGED ON CODEBERG
Update PageRepo.php
AkibaWolfc2369a740dff
diff --git a/app/Repos/PageRepo.php b/app/Repos/PageRepo.phpindex 05052432e..93f80ec6d 100644--- a/app/Repos/PageRepo.php+++ b/app/Repos/PageRepo.php@@ -125,7 +125,7 @@ class PageRepoif($htmlText == '') return $htmlText;libxml_use_internal_errors(true);$doc = new \DOMDocument();- $doc->loadHTML($htmlText);+ $doc->loadHTML(mb_convert_encoding($htmlText, 'HTML-ENTITIES', 'UTF-8'));$container = $doc->documentElement;$body = $container->childNodes->item(0);@@ -359,4 +359,4 @@ class PageRepo}-}\ No newline at end of file+}