diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 17:50:58 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-08 17:50:58 +0200 |
commit | 3e4ff94f5842a9383c3a3710b885f1cd3cbf2c07 (patch) | |
tree | 286e2eddbb748be58bb9e32dbc5668c826a94356 /src | |
parent | 59c4ec0fb54c9263ac3a127d2b1c4fd7f0d490d6 (diff) | |
download | markdown-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.rs | 3 |
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 { |