aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/Org.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Readers/Org.hs')
-rw-r--r--test/Tests/Readers/Org.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org.hs b/test/Tests/Readers/Org.hs
index 821739437..b2d0cd684 100644
--- a/test/Tests/Readers/Org.hs
+++ b/test/Tests/Readers/Org.hs
@@ -1028,6 +1028,16 @@ tests =
, note $ para ("Second" <> space <> "note.")
])
+ , "Footnote that starts with emphasized text" =:
+ unlines [ "text[fn:1]"
+ , ""
+ , "[fn:1] /emphasized/"
+ ] =?>
+ para (mconcat
+ [ "text"
+ , note . para $ emph "emphasized"
+ ])
+
, "Footnote followed by header" =:
unlines [ "Another note[fn:yay]"
, ""