fixup! block: fix container indent trim on enter

This commit is contained in:
Noah Hellman 2023-01-23 21:18:56 +01:00
parent e5c4ca5450
commit 35beb18dad

View file

@ -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!(),
};