diff options
author | Alexander Krotov <ilabdsf@gmail.com> | 2018-10-17 15:42:57 +0300 |
---|---|---|
committer | Alexander Krotov <ilabdsf@gmail.com> | 2018-10-17 18:17:30 +0300 |
commit | 6fc812485e26f169bfe560b5f78c572378cbc53a (patch) | |
tree | 194297a66834d7172dcbef0a176f771be442693a /test | |
parent | 1071732719fa015b1dcc994e1d80146f291d3e17 (diff) | |
download | pandoc-6fc812485e26f169bfe560b5f78c572378cbc53a.tar.gz |
Muse reader: allow examples to be indented with tabs
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Readers/Muse.hs | 8 |
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" =: |