aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-13 23:40:18 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-13 23:40:18 -0800
commit46d343f47487c330ad5f7ca0f6d97f17bcd4a98a (patch)
tree2c152e900270a7a6935c52e676e1cab532fd8407 /tests/Tests/Readers
parentbd245450c49380c029cfe0aab9e1024d6210f624 (diff)
downloadpandoc-46d343f47487c330ad5f7ca0f6d97f17bcd4a98a.tar.gz
Fixed bug in org with bulleted lists:
- a - b * c was being parsed as a list, even though an unindented `*` should make a heading. See <http://orgmode.org/manual/Plain-lists.html#fn-1>.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Org.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs
index e59080bae..d1f673514 100644
--- a/tests/Tests/Readers/Org.hs
+++ b/tests/Tests/Readers/Org.hs
@@ -622,6 +622,13 @@ tests =
, plain "Item2"
]
+ , "Unindented *" =:
+ ("- Item1\n" ++
+ "* Item2\n") =?>
+ bulletList [ plain "Item1"
+ ] <>
+ header 1 "Item2"
+
, "Multi-line Bullet Lists" =:
("- *Fat\n" ++
" Tony*\n" ++