From 33d7ae03d1c38bba6b3289d5c401570ef0093b39 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Thu, 24 Aug 2023 21:35:34 -0400 Subject: [PATCH] Add a TODO. --- src/parser/plain_list.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser/plain_list.rs b/src/parser/plain_list.rs index fb65c5f..26e300e 100644 --- a/src/parser/plain_list.rs +++ b/src/parser/plain_list.rs @@ -116,6 +116,7 @@ pub fn plain_list_item<'r, 's>( Into::<&str>::into(bull) != "*" || indent_level > 0 })(remaining)?; + // TODO: This isn't taking into account items that immediately line break and then have contents let maybe_contentless_item: Res, OrgSource<'_>> = alt((eof, line_ending))(remaining); match maybe_contentless_item {