From 86834a02b301bba48c2bd568beb156e604470167 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Jul 2022 19:04:31 +0200 Subject: Fix some issues around empty lists --- src/content/document.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/content') diff --git a/src/content/document.rs b/src/content/document.rs index c5bf5c8..27fb73d 100644 --- a/src/content/document.rs +++ b/src/content/document.rs @@ -156,6 +156,8 @@ fn check_new_containers( // self.interrupt = Boolean( // childFlow.currentConstruct && !childFlow._gfmTableDynamicInterruptHack // ) + } else { + tokenizer.interrupt = false; } // Check if there is a new container. @@ -299,6 +301,7 @@ fn exit_containers( println!("inject:0: {:?}", index); index = 0; } else { + index -= before; println!("set: {:?}", index); } info.inject[index].1.append(&mut exits); -- cgit