From 44f8c2725eac93ac0df503cb338ba6b076a0ee20 Mon Sep 17 00:00:00 2001 From: Albert Krewinkel Date: Thu, 19 Mar 2020 21:27:35 +0100 Subject: Jira reader: fix parsing of tables without preceding blankline A bug was fixed which caused faulty parsing if a table was not preceded by a newline and the first table cell had no space after the initial `|` characters. Fixes: #6198 --- test/Tests/Readers/Jira.hs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test') diff --git a/test/Tests/Readers/Jira.hs b/test/Tests/Readers/Jira.hs index 4ed8194fd..299db7bed 100644 --- a/test/Tests/Readers/Jira.hs +++ b/test/Tests/Readers/Jira.hs @@ -77,6 +77,11 @@ tests = simpleTable [] [ [para "language", para "haskell", para "lua"] , [para "type", para "static", para "dynamic"]] + + , "table after paragraph" =: + "*tabletest*\n||Name|\n|Test|\n" =?> + para (strong "tabletest") <> + simpleTable [para "Name"] [[para "Test"]] ] , testGroup "inlines" -- cgit v1.2.3