From a7b298eeec9bef39a4c2c9c31a589019106e1e00 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 14 Aug 2023 17:28:57 -0400 Subject: [PATCH] Fix lesser block exit priority. The paragraph end was matching text inside lesser blocks. --- src/parser/lesser_block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/lesser_block.rs b/src/parser/lesser_block.rs index 2e86036..42a1feb 100644 --- a/src/parser/lesser_block.rs +++ b/src/parser/lesser_block.rs @@ -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 {