From 84f9c42dab46a08aa6f53ba5399c1221a222e7eb Mon Sep 17 00:00:00 2001 From: Andrei Fokau Date: Wed, 27 Nov 2013 23:57:04 +0100 Subject: [PATCH] Add call and macro tags to self-closing dict --- hamlpy/nodes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hamlpy/nodes.py b/hamlpy/nodes.py index a5e7e4a..2e849e0 100644 --- a/hamlpy/nodes.py +++ b/hamlpy/nodes.py @@ -440,6 +440,8 @@ class TagNode(HamlNode): 'comment': 'endcomment', 'cache': 'endcache', 'localize': 'endlocalize', + 'call': 'endcall', + 'macro': 'endmacro', 'compress': 'endcompress'} may_contain = {'if':['else', 'elif'], 'ifchanged':'else',