Fix the line break consumption issue.
This leaves us with an issue of lists becoming needlessly nested.
This commit is contained in:
parent
028946ec90
commit
2c7a559869
@ -41,7 +41,7 @@ fn paragraph_end<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s st
|
||||
let non_paragraph_element_matcher = parser_with_context!(non_paragraph_element)(context);
|
||||
alt((
|
||||
recognize(tuple((line_ending, many1(blank_line)))),
|
||||
recognize(non_paragraph_element_matcher),
|
||||
recognize(tuple((line_ending, non_paragraph_element_matcher))),
|
||||
eof,
|
||||
))(input)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user