diff options
-rw-r--r-- | src/content/document.rs | 3 | ||||
-rw-r--r-- | tests/html_flow.rs | 11 |
2 files changed, 8 insertions, 6 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 { diff --git a/tests/html_flow.rs b/tests/html_flow.rs index 757f2f3..6dfceb5 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -1018,10 +1018,9 @@ fn html_flow_7_complete() { "should not support lazyness (1)" ); - // To do: blockquote (lazy). - // assert_eq!( - // micromark_with_options("> a\n<a>", DANGER), - // "<blockquote>\n<p>a</p>\n</blockquote>\n<a>", - // "should not support lazyness (2)" - // ); + assert_eq!( + micromark_with_options("> a\n<a>", DANGER), + "<blockquote>\n<p>a</p>\n</blockquote>\n<a>", + "should not support lazyness (2)" + ); } |