aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-04-15 17:40:36 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-04-15 17:53:53 +0300
commit01f5ed14e67d0f4f3bf23b9506fe91b226cfe769 (patch)
treebaabe3b3f1451d096a601c7cc811db840f48b862 /test
parent17767bd29d54883364d4d9bdee417973ac0a10ac (diff)
downloadpandoc-01f5ed14e67d0f4f3bf23b9506fe91b226cfe769.tar.gz
Muse reader: don't allow footnote references inside links
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Muse.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 11ec9464f..5c7460afe 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -210,6 +210,9 @@ tests =
, "No implicit links" =: "http://example.org/index.php?action=view&id=1"
=?> para "http://example.org/index.php?action=view&id=1"
, "Link with empty URL" =: "[[][empty URL]]" =?> para (link "" "" (text "empty URL"))
+ , "No footnotes inside links" =:
+ "[[https://amusewiki.org/][foo[1]]" =?>
+ para (link "https://amusewiki.org/" "" (text "foo[1"))
]
, testGroup "Literal"