Fix handling of mixed subrules and definitions in quote
This commit is contained in:
parent
d4fa0ae689
commit
1cd9201d59
@ -106,6 +106,8 @@ class SubrulesItem(mistletoe.block_token.BlockToken):
|
|||||||
if not match.group(1) and not match.group(2):
|
if not match.group(1) and not match.group(2):
|
||||||
# Neither an indent nor a label
|
# Neither an indent nor a label
|
||||||
return False
|
return False
|
||||||
|
if Definition.pattern.match(line):
|
||||||
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
Loading…
Reference in New Issue
Block a user