aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html_flow.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 10:51:45 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-08 10:51:45 +0200
commitbd0cb0d0395abb06941960938aacc3639148a96c (patch)
tree1c69873ccb947e7f81a652b653dc5d6d557d49e3 /tests/html_flow.rs
parent92b42e06f943338ce8b54b7e22cbb116ff598fa6 (diff)
downloadmarkdown-rs-bd0cb0d0395abb06941960938aacc3639148a96c.tar.gz
markdown-rs-bd0cb0d0395abb06941960938aacc3639148a96c.tar.bz2
markdown-rs-bd0cb0d0395abb06941960938aacc3639148a96c.zip
Add support for concrete constructs
Diffstat (limited to 'tests/html_flow.rs')
-rw-r--r--tests/html_flow.rs13
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/html_flow.rs b/tests/html_flow.rs
index e53b47e..796ced4 100644
--- a/tests/html_flow.rs
+++ b/tests/html_flow.rs
@@ -366,12 +366,11 @@ fn html_flow_4_declaration() {
// Note about the lower letter:
// <https://github.com/commonmark/commonmark-spec/pull/621>
- // To do: concrete constructs (html flow).
- // assert_eq!(
- // micromark_with_options("<!a\n \n \n>", DANGER),
- // "<!a\n \n \n>",
- // "should support blank lines in declarations"
- // );
+ assert_eq!(
+ micromark_with_options("<!a\n \n \n>", DANGER),
+ "<!a\n \n \n>",
+ "should support blank lines in declarations"
+ );
// To do: blockquote (lazy).
// assert_eq!(
@@ -1020,7 +1019,7 @@ fn html_flow_7_complete() {
"should not support blank lines in complete"
);
- // To do: blockquote (some bug).
+ // To do: containers: close flow when closing container.
// assert_eq!(
// micromark_with_options("> <a>\n*bar*", DANGER),
// "<blockquote>\n<a>\n</blockquote>\n<p><em>bar</em></p>",