From dfb7cea03794ead892527e19f883dc8a3e784bc7 Mon Sep 17 00:00:00 2001 From: bott Date: Sun, 2 Sep 2018 18:46:45 +0200 Subject: Fix multiple nesting in macro calls into different scopes --- testing/templates/nested-macro.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'testing/templates') diff --git a/testing/templates/nested-macro.html b/testing/templates/nested-macro.html index 4a40cd9..5030d59 100644 --- a/testing/templates/nested-macro.html +++ b/testing/templates/nested-macro.html @@ -1,7 +1,11 @@ -{%- macro child() -%} +{%- macro child0() -%} foo {%- endmacro -%} +{%- macro child1() -%} + {% call child0() %} +{%- endmacro -%} + {%- macro parent() -%} - {% call child() %} + {% call child1() %} {%- endmacro -%} -- cgit