Fix lesser block exit priority.

The paragraph end was matching text inside lesser blocks.
This commit is contained in:
Tom Alexander 2023-08-14 17:28:57 -04:00
parent 1bbfbc3164
commit a7b298eeec
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -200,7 +200,7 @@ pub fn src_block<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s st
.with_additional_node(ContextElement::ConsumeTrailingWhitespace(true))
.with_additional_node(ContextElement::Context("lesser block"))
.with_additional_node(ContextElement::ExitMatcherNode(ExitMatcherNode {
class: ExitClass::Beta,
class: ExitClass::Alpha,
exit_matcher: &lesser_block_end_specialized,
}));
let parameters = match parameters {