diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-14 20:00:00 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-14 20:02:53 +0200 |
commit | 8f9c7c6cf112e44f64b3dfbcd012e6550d8883e5 (patch) | |
tree | 59abddd3f455e845f3484ff2b5f6525e9ad91480 /src/construct/list.rs | |
parent | 5a98a4626d4e87c4681f7f2434bbc56c90bad322 (diff) | |
download | markdown-rs-8f9c7c6cf112e44f64b3dfbcd012e6550d8883e5.tar.gz markdown-rs-8f9c7c6cf112e44f64b3dfbcd012e6550d8883e5.tar.bz2 markdown-rs-8f9c7c6cf112e44f64b3dfbcd012e6550d8883e5.zip |
Fix two more list bugs
Diffstat (limited to '')
-rw-r--r-- | src/construct/list.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/construct/list.rs b/src/construct/list.rs index 6614122..2fe46b0 100644 --- a/src/construct/list.rs +++ b/src/construct/list.rs @@ -345,7 +345,12 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Vec<Event> { && skip::opt( &tokenizer.events, previous.3 + 1, - &[Token::SpaceOrTab, Token::LineEnding, Token::BlankLineEnding], + &[ + Token::SpaceOrTab, + Token::LineEnding, + Token::BlankLineEnding, + Token::BlockQuotePrefix, + ], ) == current.2 { println!("prev:match {:?} {:?}", previous, current); |