aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2020-03-18 18:15:38 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2020-03-18 21:32:05 +0100
commit81d46435f6c60d4011de46c3d81c127bc293468d (patch)
treef085856b071aa53a1bd1670e2961fa7c80100890 /test/Tests
parent525edb86c0e4286f0ce061bddd8c98e194f92dde (diff)
downloadpandoc-81d46435f6c60d4011de46c3d81c127bc293468d.tar.gz
Jira reader: fix parsing of strikeout, emphasis
A bug was fixed which caused non-emphasized text containing digits and/or non-special symbols (like dots) to sometimes be parsed incorrectly. Fixes: #6196
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Jira.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs
index 69550dcb5..4ed8194fd 100644
--- a/test/Tests/Readers/Jira.hs
+++ b/test/Tests/Readers/Jira.hs
@@ -114,5 +114,9 @@ tests =
, "HTML entity" =:
"me &amp; you" =?> para "me & you"
+
+ , "non-strikeout dashes" =:
+ "20.09-15 2-678" =?>
+ para "20.09-15 2-678"
]
]