Support leading whitespace for list items.

This commit is contained in:
Tom Alexander
2023-03-17 16:37:47 -04:00
parent 37070689c6
commit 32897270a5
5 changed files with 26 additions and 9 deletions

View File

@@ -56,7 +56,7 @@ fn context_paragraph_end<'r, 's>(
paragraph_end(input)
}
fn paragraph_end(input: &str) -> Res<&str, &str> {
pub fn paragraph_end(input: &str) -> Res<&str, &str> {
alt((
recognize(tuple((
map(line_break, TextElement::LineBreak),