From 98ffe2c41252b9749cbe35e1397cb29d97ef7dac Mon Sep 17 00:00:00 2001 From: noah morrison Date: Sun, 9 Nov 2014 22:11:04 -0500 Subject: [PATCH] Fixed variables being standalones --- entei.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entei.py b/entei.py index 40173cd..1bdca1f 100755 --- a/entei.py +++ b/entei.py @@ -115,7 +115,7 @@ def tokenize(template): if tag_key != last_section: raise UnclosedSection() - if is_standalone: + if is_standalone and tag_type not in ['variable', 'no escape']: until = grab_literal('\n') if until.isspace() or until == '': is_standalone = True -- 2.47.3