fixup! block: fix container indent trim on enter
This commit is contained in:
parent
e5c4ca5450
commit
35beb18dad
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ impl<'s> TreeParser<'s> {
|
||||||
.take_while(|c| c.is_whitespace())
|
.take_while(|c| c.is_whitespace())
|
||||||
.count();
|
.count();
|
||||||
let skip = match c {
|
let skip = match c {
|
||||||
Blockquote => spaces + 2,
|
Blockquote => spaces + "> ".len(),
|
||||||
ListItem(..) | Footnote | Div => spaces.min(indent),
|
ListItem(..) | Footnote | Div => spaces.min(indent),
|
||||||
List { .. } | DescriptionList => panic!(),
|
List { .. } | DescriptionList => panic!(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue