aboutsummaryrefslogtreecommitdiff
path: root/test/Tests
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-10-17 13:43:55 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-10-17 13:57:05 +0300
commit1071732719fa015b1dcc994e1d80146f291d3e17 (patch)
treef8560bb287f340f67a4826749215667742fc6f0f /test/Tests
parent63b3886bfe3c5b50d171355573ab59750e009d03 (diff)
downloadpandoc-1071732719fa015b1dcc994e1d80146f291d3e17.tar.gz
Muse reader: remove indentation from examples indicated by {{{ and }}}
Diffstat (limited to 'test/Tests')
-rw-r--r--test/Tests/Readers/Muse.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index bd63236bd..cda486daa 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -459,6 +459,12 @@ tests =
, "}}}"
] =?>
codeBlock "Example line\n"
+ , "Indented braces" =:
+ T.unlines [ " - {{{"
+ , " Example line"
+ , " }}}"
+ ] =?>
+ bulletList [ codeBlock "Example line" ]
-- Amusewiki requires braces to be on separate line,
-- this is an extension.
, "One line" =: