* changed app/Entities/Tools/PageContent.php to accept nested include levels. Tested it and it works.
* changed recommendations
This loop is now only around parsePageIncludes and bugfixes the space indentation.
* Update PageContent.php
fix spaces
if ($blankIncludes) {
$content = $this->blankPageIncludes($content);
- } else {
- $content = $this->parsePageIncludes($content);
+ } else {
+ for ($includeDepth = 0; $includeDepth <= 3; $includeDepth++) {
+ $content = $this->parsePageIncludes($content);
+ }
}
return $content;