From 5a94b95aeefd592c304f0f0515f7fc6da0b5b386 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 13 Oct 2022 18:21:51 +0200 Subject: Add test for non-empty blank lines in footnotes --- tests/gfm_footnote.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/tests/gfm_footnote.rs b/tests/gfm_footnote.rs index 3464193..f5ae0cb 100644 --- a/tests/gfm_footnote.rs +++ b/tests/gfm_footnote.rs @@ -370,6 +370,23 @@ b 1

+

Footnotes

+
    +
  1. +

    b

    +

    c

    +
  2. +
+
\n", + "should support blank lines in footnote definitions" + ); + assert_eq!( to_html_with_options( r###"a![i](#) -- cgit