aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 17:50:58 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 17:50:58 +0200
commit3e4ff94f5842a9383c3a3710b885f1cd3cbf2c07 (patch)
tree286e2eddbb748be58bb9e32dbc5668c826a94356 /src
parent59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6 (diff)
downloadmarkdown-rs-3e4ff94f5842a9383c3a3710b885f1cd3cbf2c07.tar.gz
markdown-rs-3e4ff94f5842a9383c3a3710b885f1cd3cbf2c07.tar.bz2
markdown-rs-3e4ff94f5842a9383c3a3710b885f1cd3cbf2c07.zip
Fix interrupting when exiting containers
Diffstat (limited to '')
-rw-r--r--src/content/document.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/content/document.rs b/src/content/document.rs
index 8ce1dc3..0c95eed 100644
--- a/src/content/document.rs
+++ b/src/content/document.rs
@@ -299,6 +299,9 @@ fn exit_containers(
info.next = Box::new(flow); // This is weird but Rust needs a function there.
assert!(matches!(result.0, State::Ok));
assert!(result.1.is_none());
+
+ println!(" setting `interrupt: false`");
+ tokenizer.interrupt = false;
}
while info.stack.len() > size {