1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Set page include limit to be 3 as expected instead of 4

This commit is contained in:
Dan Brown
2023-05-02 12:44:55 +01:00
parent 4bb2b31bc9
commit ce0b75294f
2 changed files with 3 additions and 2 deletions

View 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);
}
}