aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_quote.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-14 15:01:03 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-14 15:01:03 +0200
commite2c9664b0d63ec686f9e4625ac11bb21720f74dc (patch)
tree351b09f44bad5dcf9e077407495cd455c67b99c2 /tests/block_quote.rs
parentfb185e801e7d2002948d0b4e91ee06767e13ed00 (diff)
downloadmarkdown-rs-e2c9664b0d63ec686f9e4625ac11bb21720f74dc.tar.gz
markdown-rs-e2c9664b0d63ec686f9e4625ac11bb21720f74dc.tar.bz2
markdown-rs-e2c9664b0d63ec686f9e4625ac11bb21720f74dc.zip
Fix a bunch of container things
* Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line
Diffstat (limited to 'tests/block_quote.rs')
-rw-r--r--tests/block_quote.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/block_quote.rs b/tests/block_quote.rs
index 782104f..647f6cc 100644
--- a/tests/block_quote.rs
+++ b/tests/block_quote.rs
@@ -76,12 +76,11 @@ fn block_quote() {
"should not support lazy fenced code in block quotes"
);
- // To do: container interrupt.
- // assert_eq!(
- // micromark("> a\n - b"),
- // "<blockquote>\n<p>a\n- b</p>\n</blockquote>",
- // "should not support lazy indented code (or lazy list) in block quotes"
- // );
+ assert_eq!(
+ micromark("> a\n - b"),
+ "<blockquote>\n<p>a\n- b</p>\n</blockquote>",
+ "should not support lazy indented code (or lazy list) in block quotes"
+ );
assert_eq!(
micromark(">"),