aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-02-12 16:38:00 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2021-02-12 17:15:12 +0100
commit8ffd4159d6f0ca4f13a84b27e3f8654f01c63d59 (patch)
treed355f3b60db8b27055d1fd142d2c2d38b09140df /test/Tests
parent8c2618ed8150d2b738b3baa4ba23c2d957450105 (diff)
downloadpandoc-8ffd4159d6f0ca4f13a84b27e3f8654f01c63d59.tar.gz
Jira: require jira-wiki-markup 1.3.3
* Modified the Doc parser to skip leading blank lines. This fixes parsing of documents which start with multiple blank lines. (#7095) * Prevent URLs within link aliases to be treated as autolinks. (#6944) Fixes: #7095 Fixes: #6944
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Jira.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs
index e170d2aaa..189b504f7 100644
--- a/test/Tests/Readers/Jira.hs
+++ b/test/Tests/Readers/Jira.hs
@@ -34,6 +34,9 @@ tests =
[ testGroup "para"
[ "Simple sentence" =:
"Hello, World!" =?> para "Hello, World!"
+
+ , "leading blank lines" =:
+ "\n\ntext" =?> para "text"
]
, testGroup "header"
@@ -131,6 +134,10 @@ tests =
"[Example|https://example.org]" =?>
para (link "https://example.org" "" "Example")
+ , "URL in alias" =:
+ "[See https://example.com|https://example.com]" =?>
+ para (link "https://example.com" "" "See https://example.com")
+
, "email" =:
"[mailto:me@example.org]" =?>
para (link "mailto:me@example.org" "" "me@example.org")