From: noah morrison Date: Mon, 10 Nov 2014 03:11:04 +0000 (-0500) Subject: Fixed variables being standalones X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=98ffe2c41252b9749cbe35e1397cb29d97ef7dac;p=chevron.git Fixed variables being standalones --- 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