NOW MANAGED ON CODEBERG
changed PageContent.php to accept nested includes (#4192)
jasonF1000011800d42526
diff --git a/app/Entities/Tools/PageContent.php b/app/Entities/Tools/PageContent.phpindex b4bc8b91b..67f3ea338 100644--- a/app/Entities/Tools/PageContent.php+++ b/app/Entities/Tools/PageContent.php@@ -303,8 +303,10 @@ class PageContentif ($blankIncludes) {$content = $this->blankPageIncludes($content);- } else {- $content = $this->parsePageIncludes($content);+ } else {+ for ($includeDepth = 0; $includeDepth <= 3; $includeDepth++) {+ $content = $this->parsePageIncludes($content);+ }}return $content;