aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2019-10-15 00:56:28 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2019-10-15 01:02:54 +0300
commit13e0ac1104cc77f15e85fea83f54b6d6ae65271d (patch)
treea4f4eb3692364705f6b9db479ba3244e157970c6 /test/Tests/Readers
parentd8d784ab5475916c8b2d57232c4bc2f49a964045 (diff)
downloadpandoc-13e0ac1104cc77f15e85fea83f54b6d6ae65271d.tar.gz
Muse reader: do not terminate emphasis on "*" not followed by space
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 0ca94de98..6a9919233 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -133,6 +133,10 @@ tests =
"**foo *bar* baz**" =?>
para (strong (text "foo " <> emph (text "bar") <> text " baz"))
+ , "Asterisk between words does not terminate emphasis" =:
+ "*foo*bar*" =?>
+ para (emph $ "foo*bar")
+
, test emacsMuse "Underline"
("_Underline_" =?> para (underlineSpan "Underline"))