]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Tools/PageContent.php
Fixed OIDC Logout
[bookstack] / app / Entities / Tools / PageContent.php
index a12a19c661e431fee733dd449ffd27f167763820..949816eff577cc2fc67e0a36c8507bc4d2efe8d1 100644 (file)
@@ -304,7 +304,7 @@ class PageContent
         if ($blankIncludes) {
             $content = $this->blankPageIncludes($content);
         } else {
-            for ($includeDepth = 0; $includeDepth <= 3; $includeDepth++) {
+            for ($includeDepth = 0; $includeDepth < 3; $includeDepth++) {
                 $content = $this->parsePageIncludes($content);
             }
         }