git.iko.soy/typeable/pandoc
on master help sign in
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

commit81d46435f6c60d4011de46c3d81c127bc293468d authorAlbert Krewinkel <albert@zeitkraut.de> dateWed 18 Mar 2020, 18:15 (7 years ago) parent525edb8
3 files changed+6−2
pandoc.cabal+1−1 stack.yaml+1−1 test/Tests/Readers/Jira.hs+4
pandoc.cabal+1−1
@@ -412,7 +412,7 @@ library
412412 blaze-html >= 0.9 && < 0.10,
413413 blaze-markup >= 0.8 && < 0.9,
414414 vector >= 0.10 && < 0.13,
415− jira-wiki-markup >= 1.1 && < 1.2,
415+ jira-wiki-markup >= 1.1.2 && < 1.2,
416416 hslua >= 1.0.1 && < 1.1,
417417 hslua-module-system >= 0.2 && < 0.3,
418418 hslua-module-text >= 0.2 && < 0.3,
stack.yaml+1−1
@@ -20,7 +20,7 @@ extra-deps:
2020- regex-pcre-builtin-0.95.0.8.8.35
2121- doclayout-0.3
2222- emojis-0.1
23−- jira-wiki-markup-1.1.0
23+- jira-wiki-markup-1.1.2
2424- HsYAML-0.2.0.0
2525- HsYAML-aeson-0.2.0.0
2626- doctemplates-0.8.1
test/Tests/Readers/Jira.hs+4
@@ -114,5 +114,9 @@ tests =
114114
115115 , "HTML entity" =:
116116 "me &amp; you" =?> para "me & you"
117+
118+ , "non-strikeout dashes" =:
119+ "20.09-15 2-678" =?>
120+ para "20.09-15 2-678"
117121 ]
118122 ]