From 7bf7e86db9db89da11f80d2199bcd5ca7988efba Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sat, 29 Oct 2022 12:25:32 +0200 Subject: Refactor to always resolve edit maps This will probably catch some confusing bugs, such as ad1b3e6. --- src/construct/heading_atx.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/construct/heading_atx.rs') diff --git a/src/construct/heading_atx.rs b/src/construct/heading_atx.rs index ca100c8..05b7c86 100644 --- a/src/construct/heading_atx.rs +++ b/src/construct/heading_atx.rs @@ -280,5 +280,6 @@ pub fn resolve(tokenizer: &mut Tokenizer) -> Option { index += 1; } + tokenizer.map.consume(&mut tokenizer.events); None } -- cgit