fixup! b1072d5d646f05f9b180d7cb1cd86ae805ed1f6d
This commit is contained in:
parent
21099a301f
commit
15a94f0161
2 changed files with 2 additions and 2 deletions
|
@ -361,7 +361,7 @@ impl<'s> Iterator for Parser<'s> {
|
||||||
Event::Atom(Atom::Blankline)
|
Event::Atom(Atom::Blankline)
|
||||||
}
|
}
|
||||||
tree::EventKind::Enter(block) => {
|
tree::EventKind::Enter(block) => {
|
||||||
if matches!(block, block::Block::Leaf(..)) {
|
if matches!(block, block::Block::Leaf(l)) {
|
||||||
self.parser = Some(inline::Parser::new());
|
self.parser = Some(inline::Parser::new());
|
||||||
}
|
}
|
||||||
Event::Start(Container::from_block(self.src, block), Attributes::none())
|
Event::Start(Container::from_block(self.src, block), Attributes::none())
|
||||||
|
|
Loading…
Reference in a new issue