diff --git a/renderer/tag.py b/renderer/tag.py index 803385d..f53acf5 100644 --- a/renderer/tag.py +++ b/renderer/tag.py @@ -30,7 +30,7 @@ captures = [ class Tag(BlockToken): @staticmethod def start(line): - return re.match(r"^\s*<(" + "|".join(captures) + r")+>", line) + return re.match(r"^\s*<(" + "|".join(captures) + r")+>$", line) @classmethod def read(cls, lines):