Moving towards unifying into a single parameterized element matcher.
This is to give paragraph priority over keyword in parsing so that affiliated keywords for paragraphs will be parsed as such.
This commit is contained in:
@@ -69,7 +69,7 @@ pub fn greater_block<'r, 's>(
|
||||
None => None,
|
||||
};
|
||||
|
||||
let element_matcher = parser_with_context!(element)(&parser_context);
|
||||
let element_matcher = parser_with_context!(element(true))(&parser_context);
|
||||
let exit_matcher = parser_with_context!(exit_matcher_parser)(&parser_context);
|
||||
// Check for a completely empty block
|
||||
let (remaining, children) = match consumed(many_till(blank_line, exit_matcher))(remaining) {
|
||||
|
||||
Reference in New Issue
Block a user