From 80911deb766299d97c810061bbe208c199067d01 Mon Sep 17 00:00:00 2001 From: Noah Hellman Date: Fri, 2 Dec 2022 08:16:47 +0100 Subject: [PATCH] fixup! wip inlin passing --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 177fc59..ea0766f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -359,6 +359,7 @@ impl<'s> Iterator for Parser<'s> { tree::EventKind::Enter(block) => { if matches!(block, block::Block::Leaf(l)) { self.parser = Some(inline::Parser::new()); + self.inline_start = ev.span.start(); } Event::Start(Container::from_block(self.src, block), Attributes::none()) }