@@ -797,6 +797,23 @@ tests =
797797 , "baz"
798798 ] =?>
799799 para (str "Foo" <> note (lineBlock ["bar"])) <> para (str "baz")
800+
801+ , "Footnote starting with empty line" =:
802+ T.unlines [ "Foo[1]"
803+ , ""
804+ , "[1]" -- No space character after note marker
805+ , ""
806+ , " Bar"
807+ ] =?>
808+ para (str "Foo" <> note (para $ text "Bar"))
809+ , "Indentation in footnote starting with empty line" =:
810+ T.unlines [ "Foo[1]"
811+ , ""
812+ , "[1]" -- No space character after note marker
813+ , ""
814+ , " Bar"
815+ ] =?>
816+ para (str "Foo" <> note mempty) <> blockQuote (para $ text "Bar")
800817 , test emacsMuse "Emacs multiparagraph footnotes"
801818 (T.unlines
802819 [ "First footnote reference[1] and second footnote reference[2]."