diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 19:04:31 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-12 19:04:31 +0200 |
commit | 86834a02b301bba48c2bd568beb156e604470167 (patch) | |
tree | 9aa81037fe6da336b6cfd5afe895bf61c699d907 /src/content/document.rs | |
parent | 879fbf500d0aef45cf5811569a53510013440bcd (diff) | |
download | markdown-rs-86834a02b301bba48c2bd568beb156e604470167.tar.gz markdown-rs-86834a02b301bba48c2bd568beb156e604470167.tar.bz2 markdown-rs-86834a02b301bba48c2bd568beb156e604470167.zip |
Fix some issues around empty lists
Diffstat (limited to 'src/content/document.rs')
-rw-r--r-- | src/content/document.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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); |