aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers/RST.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-09-18 09:39:17 -0700
committerGitHub <noreply@github.com>2018-09-18 09:39:17 -0700
commit9161dc4a6d12d937a70bd806cc3af3e7dac5c9c7 (patch)
tree24cf3537d740f311f3308c8a45e79eb154f4c2b8 /test/Tests/Readers/RST.hs
parente09dc44c00ff1661280bbf544d1913c61a901360 (diff)
parentdb2a68d089e06bbf298b939252f826c84b6b6702 (diff)
downloadpandoc-9161dc4a6d12d937a70bd806cc3af3e7dac5c9c7.tar.gz
Merge pull request #4914 from danse/4912-2
parse rST inlines containing newlines closing #4912
Diffstat (limited to 'test/Tests/Readers/RST.hs')
-rw-r--r--test/Tests/Readers/RST.hs3
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"))
]
]