From 35beb18dade696ed8d3e19ba894ed99029ec5b7e Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Mon, 23 Jan 2023 21:18:56 +0100 Subject: [PATCH] fixup! block: fix container indent trim on enter --- src/block.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block.rs b/src/block.rs index 259d078..fa8efb3 100644 --- a/src/block.rs +++ b/src/block.rs @@ -268,7 +268,7 @@ impl<'s> TreeParser<'s> { .take_while(|c| c.is_whitespace()) .count(); let skip = match c { - Blockquote => spaces + 2, + Blockquote => spaces + "> ".len(), ListItem(..) | Footnote | Div => spaces.min(indent), List { .. } | DescriptionList => panic!(), };