From 32f9f35d89e41072543186969b995ac9aa020f98 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 18 Jul 2022 10:44:06 +0200 Subject: Fix final bug with laziness --- src/content/document.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/content/document.rs') 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(); } -- cgit