diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 10:44:06 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 10:46:14 +0200 |
commit | 32f9f35d89e41072543186969b995ac9aa020f98 (patch) | |
tree | b506e056ed810e6a11570c350316b12f500344da /src | |
parent | 3aa10425c95bbe79050c3166702e38758fbe646e (diff) | |
download | markdown-rs-32f9f35d89e41072543186969b995ac9aa020f98.tar.gz markdown-rs-32f9f35d89e41072543186969b995ac9aa020f98.tar.bz2 markdown-rs-32f9f35d89e41072543186969b995ac9aa020f98.zip |
Fix final bug with laziness
Diffstat (limited to 'src')
-rw-r--r-- | src/content/document.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/content/document.rs b/src/content/document.rs index 704cfea..7656db7 100644 --- a/src/content/document.rs +++ b/src/content/document.rs @@ -393,14 +393,7 @@ fn flow_end( .token_type == Token::Paragraph; - if tokenizer.lazy - && info.paragraph_before - && paragraph - && !(matches!( - tokenizer.previous, - Code::CarriageReturnLineFeed | Code::Char('\n' | '\r') - ) && matches!(code, Code::None)) - { + if tokenizer.lazy && info.paragraph_before && paragraph { info.continued = info.stack.len(); } |