aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-09-20 13:02:47 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-09-20 13:02:47 -0700
commit9b033672e4302501f11af21dc297a39a9d5960fc (patch)
treedf771caec195f8bcbbb4a16a5dbf54c713557a5c /tests
parent54526665c39fe389ffaa202211e481fa9b692e76 (diff)
parent8007dd97b5d403f54c218a178573a818ab80c667 (diff)
downloadpandoc-9b033672e4302501f11af21dc297a39a9d5960fc.tar.gz
Merge pull request #2406 from tarleb/org-verse-fix
Make sure verse blocks can contain empty lines
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Org.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 5eed2c9f4..52aaea52e 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -1143,6 +1143,15 @@ tests =
]
]
+ , "Verse block with newlines" =:
+ unlines [ "#+BEGIN_VERSE"
+ , "foo"
+ , ""
+ , "bar"
+ , "#+END_VERSE"
+ ] =?>
+ para ("foo" <> linebreak <> linebreak <> "bar")
+
, "LaTeX fragment" =:
unlines [ "\\begin{equation}"
, "X_i = \\begin{cases}"