From 43730bb35fc0f64b2fd5425693ba4106e6df3c5a Mon Sep 17 00:00:00 2001 From: Julian Gonggrijp Date: Fri, 26 Jan 2024 19:53:42 +0100 Subject: [PATCH] Update generated JSON (#89) --- specs/partials.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/specs/partials.json b/specs/partials.json index 89dde46..cea9a96 100644 --- a/specs/partials.json +++ b/specs/partials.json @@ -55,6 +55,20 @@ }, "expected": "X>" }, + { + "name": "Nested", + "desc": "The greater-than operator should work from within partials.", + "data": { + "a": "hello", + "b": "world" + }, + "template": "{{>outer}}", + "partials": { + "outer": "*{{a}} {{>inner}}*", + "inner": "{{b}}!" + }, + "expected": "*hello world!*" + }, { "name": "Surrounding Whitespace", "desc": "The greater-than operator should not alter surrounding whitespace.",