fixup! b1072d5d646f05f9b180d7cb1cd86ae805ed1f6d

This commit is contained in:
Noah Hellman 2022-12-02 08:16:47 +01:00
parent 21099a301f
commit 15a94f0161
2 changed files with 2 additions and 2 deletions

View file

@ -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())