@@ -797,6 +797,23 @@ tests =
799 para (str "Foo" <> note (lineBlock ["bar"])) <> para (str "baz")
799 para (str "Foo" <> note (lineBlock ["bar"])) <> para (str "baz")
801+ , "Footnote starting with empty line" =:
802+ T.unlines [ "Foo[1]"
804+ , "[1]" -- No space character after note marker
808+ para (str "Foo" <> note (para $ text "Bar"))
809+ , "Indentation in footnote starting with empty line" =:
810+ T.unlines [ "Foo[1]"
812+ , "[1]" -- No space character after note marker
816+ para (str "Foo" <> note mempty) <> blockQuote (para $ text "Bar")
800 , test emacsMuse "Emacs multiparagraph footnotes"
817 , test emacsMuse "Emacs multiparagraph footnotes"
801 (T.unlines
818 (T.unlines
802 [ "First footnote reference[1] and second footnote reference[2]."
819 [ "First footnote reference[1] and second footnote reference[2]."