aboutsummaryrefslogtreecommitdiff
path: root/test/Tests/Readers
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2018-11-14 19:17:05 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2018-11-14 19:17:05 +0300
commit367e8cac18924f8cd9898f84f25c56bd2ae3b744 (patch)
treea39750a97ed877790c5fdf98c0d52f5ac2823a3e /test/Tests/Readers
parentc61b67410ac9f30786dd8e5c73cf2a7bbdbcd02c (diff)
downloadpandoc-367e8cac18924f8cd9898f84f25c56bd2ae3b744.tar.gz
Muse reader: trim whitespace before parsing grid table cells
Diffstat (limited to 'test/Tests/Readers')
-rw-r--r--test/Tests/Readers/Muse.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Tests/Readers/Muse.hs b/test/Tests/Readers/Muse.hs
index 0f9f2d92f..26720d8c5 100644
--- a/test/Tests/Readers/Muse.hs
+++ b/test/Tests/Readers/Muse.hs
@@ -1019,6 +1019,17 @@ tests =
[[table mempty [(AlignDefault, 0.0)]
[]
[[para "foo"]]]]
+ , "Grid table with example" =:
+ T.unlines
+ [ "+------------+"
+ , "| <example> |"
+ , "| foo |"
+ , "| </example> |"
+ , "+------------+"
+ ] =?>
+ table mempty [(AlignDefault, 0.0)]
+ []
+ [[codeBlock "foo"]]
]
, testGroup "Lists"
[ "Bullet list" =: