aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-08-09 21:33:24 +0200
committerGitHub <noreply@github.com>2016-08-09 21:33:24 +0200
commit13424a2bd7ffbf049a6f3b3303fcb486f9385511 (patch)
tree11221926df62b48b75d33b36b0c6a92a7d0270c5 /tests
parent3a6e15a3131f2ced7daf912ed9df16e6a0860a37 (diff)
parent13280a811264690c42ac7d795efa0c702fad0b7b (diff)
downloadpandoc-13424a2bd7ffbf049a6f3b3303fcb486f9385511.tar.gz
Merge pull request #3065 from tarleb/org-verse-indent
Org reader: preserve indentation of verse lines
Diffstat (limited to 'tests')
-rw-r--r--tests/Tests/Readers/Org.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index 75d70a8bc..0a3f9c222 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -1440,6 +1440,14 @@ tests =
] =?>
para ("foo" <> linebreak <> linebreak <> "bar")
+ , "Verse block with varying indentation" =:
+ unlines [ "#+BEGIN_VERSE"
+ , " hello darkness"
+ , "my old friend"
+ , "#+END_VERSE"
+ ] =?>
+ para ("\160\160hello darkness" <> linebreak <> "my old friend")
+
, "Raw block LaTeX" =:
unlines [ "#+BEGIN_LaTeX"
, "The category $\\cat{Set}$ is adhesive."