From f29c12f469ccb76ed06aff6d6dc037dfd7dd2406 Mon Sep 17 00:00:00 2001 From: bott Date: Sat, 1 Sep 2018 20:19:15 +0200 Subject: Add test for nested macro calls into different scope --- testing/templates/nested-macro.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 testing/templates/nested-macro.html (limited to 'testing/templates/nested-macro.html') diff --git a/testing/templates/nested-macro.html b/testing/templates/nested-macro.html new file mode 100644 index 0000000..4a40cd9 --- /dev/null +++ b/testing/templates/nested-macro.html @@ -0,0 +1,7 @@ +{%- macro child() -%} + foo +{%- endmacro -%} + +{%- macro parent() -%} + {% call child() %} +{%- endmacro -%} -- cgit