NOW MANAGED ON CODEBERG
Fixed page listing excerpts not showing due to encoding issues
Dan Brown6bd49bcd4b7a
diff --git a/app/Page.php b/app/Page.phpindex bd5f3bafe..53724ec20 100644--- a/app/Page.php+++ b/app/Page.php@@ -45,7 +45,8 @@ class Page extends Entitypublic function getExcerpt($length = 100){- return strlen($this->text) > $length ? substr($this->text, 0, $length-3) . '...' : $this->text;+ $text = strlen($this->text) > $length ? substr($this->text, 0, $length-3) . '...' : $this->text;+ return mb_convert_encoding($text, 'UTF-8');}}