From abe9a70df3133b4fb60e91316871e791e86e7fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20H=C3=A1k?= Date: Thu, 19 Jun 2025 08:59:58 +0200 Subject: [PATCH] SnippetRuntime: Fixed snippets rendering when multiple templates are rendered --- src/Bridges/ApplicationLatte/SnippetRuntime.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bridges/ApplicationLatte/SnippetRuntime.php b/src/Bridges/ApplicationLatte/SnippetRuntime.php index f3ad578fc..a845f28d4 100644 --- a/src/Bridges/ApplicationLatte/SnippetRuntime.php +++ b/src/Bridges/ApplicationLatte/SnippetRuntime.php @@ -118,6 +118,8 @@ public function renderSnippets(array $blocks, array $params): bool $this->control->snippetMode = true; $this->renderChildren(); + + $this->renderingSnippets = false; return true; }