From: noah morrison Date: Sat, 1 Nov 2014 17:23:51 +0000 (-0400) Subject: Fixed "no escape?" bug X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=299ee4ed29f5fb1500d49e77534f13fbbdcb13a5;p=chevron.git Fixed "no escape?" bug Triple brace tags were yielding "no escape?" instead of "no escape". --- diff --git a/chevron.py b/chevron.py index c7a3226..b6ca106 100755 --- a/chevron.py +++ b/chevron.py @@ -90,7 +90,7 @@ def tokenize(template): tag_key = grab_literal(r_del).strip() if tag_type == 'no escape?': - if peek(0, 3) == '}}}': + if peek(0, 1) == '}': tag_type = 'no escape' get(1)