diff options
Diffstat (limited to 'mako/lexer.py')
-rw-r--r-- | mako/lexer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/lexer.py b/mako/lexer.py index 77a2483..75182f8 100644 --- a/mako/lexer.py +++ b/mako/lexer.py @@ -322,7 +322,7 @@ class Lexer: return True def match_tag_end(self): - match = self.match(r"\</%[\t ]*(.+?)[\t ]*>") + match = self.match(r"\</%[\t ]*([^\t ]+?)[\t ]*>") if match: if not len(self.tag): raise exceptions.SyntaxException( |