@@ -1028,6 +1028,16 @@ tests =
10281028 , note $ para ("Second" <> space <> "note.")
10291029 ])
10301030
1031+ , "Footnote that starts with emphasized text" =:
1032+ unlines [ "text[fn:1]"
1033+ , ""
1034+ , "[fn:1] /emphasized/"
1035+ ] =?>
1036+ para (mconcat
1037+ [ "text"
1038+ , note . para $ emph "emphasized"
1039+ ])
1040+
10311041 , "Footnote followed by header" =:
10321042 unlines [ "Another note[fn:yay]"
10331043 , ""