aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_quote.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-13 10:40:11 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-13 10:40:11 +0200
commitad8eac98c1468b30c17c339e79b84c37a7b15517 (patch)
treedaffac5b46b474787ebe6e886061510249f37cab /tests/block_quote.rs
parent86834a02b301bba48c2bd568beb156e604470167 (diff)
downloadmarkdown-rs-ad8eac98c1468b30c17c339e79b84c37a7b15517.tar.gz
markdown-rs-ad8eac98c1468b30c17c339e79b84c37a7b15517.tar.bz2
markdown-rs-ad8eac98c1468b30c17c339e79b84c37a7b15517.zip
Fix to close containers before several (blank) line endings
Diffstat (limited to '')
-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 8fb4e61..782104f 100644
--- a/tests/block_quote.rs
+++ b/tests/block_quote.rs
@@ -143,12 +143,11 @@ fn block_quote() {
"should support interrupting block quotes w/ blank lines"
);
- // To do: some container bug introduces due to lists?
- // assert_eq!(
- // micromark("> a\n>\nb"),
- // "<blockquote>\n<p>a</p>\n</blockquote>\n<p>b</p>",
- // "should not support interrupting a blank line in a block quotes w/ paragraphs"
- // );
+ assert_eq!(
+ micromark("> a\n>\nb"),
+ "<blockquote>\n<p>a</p>\n</blockquote>\n<p>b</p>",
+ "should not support interrupting a blank line in a block quotes w/ paragraphs"
+ );
assert_eq!(
micromark("> > > a\nb"),