diff options
author | danse <f.occhipinti@gmail.com> | 2018-09-18 13:24:24 +0200 |
---|---|---|
committer | danse <f.occhipinti@gmail.com> | 2018-09-18 13:31:09 +0200 |
commit | db2a68d089e06bbf298b939252f826c84b6b6702 (patch) | |
tree | 24cf3537d740f311f3308c8a45e79eb154f4c2b8 /test/Tests/Readers/RST.hs | |
parent | e09dc44c00ff1661280bbf544d1913c61a901360 (diff) | |
download | pandoc-db2a68d089e06bbf298b939252f826c84b6b6702.tar.gz |
parse rST inlines containing newlines closing #4912
this eliminates a regression error introduced after pandoc 2.1.1,
affecting rST inline parsing. see the issue for details
Diffstat (limited to 'test/Tests/Readers/RST.hs')
-rw-r--r-- | test/Tests/Readers/RST.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Tests/Readers/RST.hs b/test/Tests/Readers/RST.hs index 8916eed6f..963e7530d 100644 --- a/test/Tests/Readers/RST.hs +++ b/test/Tests/Readers/RST.hs @@ -198,5 +198,8 @@ tests = [ "line block with blank line" =: , "bare URI parsing disabled inside emphasis (#4561)" =: "*http://location*" =?> para (emph (text "http://location")) + , "include newlines" =: + "**before\nafter**" =?> + para (strong (text "before\nafter")) ] ] |