Fix lesser block exit priority.
The paragraph end was matching text inside lesser blocks.
This commit is contained in:
parent
1bbfbc3164
commit
a7b298eeec
@ -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::ConsumeTrailingWhitespace(true))
|
||||||
.with_additional_node(ContextElement::Context("lesser block"))
|
.with_additional_node(ContextElement::Context("lesser block"))
|
||||||
.with_additional_node(ContextElement::ExitMatcherNode(ExitMatcherNode {
|
.with_additional_node(ContextElement::ExitMatcherNode(ExitMatcherNode {
|
||||||
class: ExitClass::Beta,
|
class: ExitClass::Alpha,
|
||||||
exit_matcher: &lesser_block_end_specialized,
|
exit_matcher: &lesser_block_end_specialized,
|
||||||
}));
|
}));
|
||||||
let parameters = match parameters {
|
let parameters = match parameters {
|
||||||
|
Loading…
Reference in New Issue
Block a user