diff --git a/legalmd/legal_token.py b/legalmd/legal_token.py index 8bd14bb..8c9b13e 100644 --- a/legalmd/legal_token.py +++ b/legalmd/legal_token.py @@ -106,6 +106,8 @@ class SubrulesItem(mistletoe.block_token.BlockToken): if not match.group(1) and not match.group(2): # Neither an indent nor a label return False + if Definition.pattern.match(line): + return False return True @classmethod