From 7a4d919d9dc43453524477470a4f217d11b94e24 Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Mon, 5 Jul 2021 15:48:29 +0200 Subject: Specify block scope resolution (#125) --- specs/~inheritance.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specs/~inheritance.yml b/specs/~inheritance.yml index 07fa081..5a24ba8 100644 --- a/specs/~inheritance.yml +++ b/specs/~inheritance.yml @@ -224,3 +224,14 @@ tests: partials: parent: "{{$foo}}default content{{/foo}}" expected: default content + + - name: Block scope + desc: Scope of a substituted block is evaluated in the context of the parent template + data: + fruit: apples + nested: + fruit: bananas + template: "{{