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 b2d0cd684..48f4989ce 100644
--- a/test/Tests/Readers/Org.hs
+++ b/test/Tests/Readers/Org.hs
@@ -1028,6 +1028,16 @@ tests =
, note $ para ("Second" <> space <> "note.")
])
+ , "Emphasized text before footnote" =:
+ unlines [ "/text/[fn:1]"
+ , ""
+ , "[fn:1] unicorn"
+ ] =?>
+ para (mconcat
+ [ emph "text"
+ , note . para $ "unicorn"
+ ])
+
, "Footnote that starts with emphasized text" =:
unlines [ "text[fn:1]"
, ""