Remove parent exit matcher check from section.
This was poorly thought out and causing exit due to the no exit error.
This commit is contained in:
parent
ea753ad33c
commit
9c832053d4
@ -113,9 +113,6 @@ fn section<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, Sec
|
||||
|(children, _exit_contents)| !children.is_empty(),
|
||||
)(input)?;
|
||||
|
||||
// Check if a parent exit matcher is causing the exit
|
||||
exit_matcher_parser(context, remaining)?;
|
||||
|
||||
let (remaining, _trailing_ws) = maybe_consume_trailing_whitespace(context, remaining)?;
|
||||
|
||||
let source = get_consumed(input, remaining);
|
||||
|
Loading…
Reference in New Issue
Block a user