aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-10-17 15:42:57 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-10-17 18:17:30 +0300
commit6fc812485e26f169bfe560b5f78c572378cbc53a (patch)
tree194297a66834d7172dcbef0a176f771be442693a /test
parent1071732719fa015b1dcc994e1d80146f291d3e17 (diff)
downloadpandoc-6fc812485e26f169bfe560b5f78c572378cbc53a.tar.gz
Muse reader: allow examples to be indented with tabs
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Muse.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index cda486daa..75dd4e7da 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -465,6 +465,14 @@ tests =
, " }}}"
] =?>
bulletList [ codeBlock "Example line" ]
+ , "Tabs" =:
+ T.unlines [ "{{{"
+ , "\t foo"
+ , "\t\t"
+ , "\t bar"
+ , "}}}"
+ ] =?>
+ codeBlock " foo\n\t\n bar"
-- Amusewiki requires braces to be on separate line,
-- this is an extension.
, "One line" =: