From d58e4b66b9ed2118d47947ea4fb960d7d7ca0620 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Thu, 23 Jun 2011 18:20:09 +0200 Subject: Do not activate a section for null? contexts. --- json-template.s6l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/json-template.s6l b/json-template.s6l index 7d88833..06a591b 100755 --- a/json-template.s6l +++ b/json-template.s6l @@ -256,7 +256,7 @@ context))))] [(section? thing) (let ([context (resolve-path stack (name->path (section-name thing)))]) - (if context + (if (and context (not (null? context))) (expand-template (section-body thing) (cons context stack) default-formatter) -- cgit v1.2.3