aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Readers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-04-26 11:20:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-04-26 11:27:47 -0700
commitd9d88e58e1d710c86ef4037c352244ea6b439fa3 (patch)
tree0a5eab891ece723fab46f85b65aeb4b2c0c195c8 /tests/Tests/Readers
parent2793d986dc5f745e3272832e034581217a00a077 (diff)
downloadpandoc-d9d88e58e1d710c86ef4037c352244ea6b439fa3.tar.gz
Fixed regression with lists inside defintiion lists.
This fixes a regression (not in any released version) on things like hi : - there Closes #2098.
Diffstat (limited to 'tests/Tests/Readers')
-rw-r--r--tests/Tests/Readers/Markdown.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Markdown.hs b/tests/Tests/Readers/Markdown.hs
index 02d49a70e..9904cb9f1 100644
--- a/tests/Tests/Readers/Markdown.hs
+++ b/tests/Tests/Readers/Markdown.hs
@@ -276,6 +276,9 @@ tests = [ testGroup "inline code"
, "first line not indented" =:
"foo\n: bar\n" =?>
definitionList [ (text "foo", [plain (text "bar")]) ]
+ , "list in definition" =:
+ "foo\n: - bar\n" =?>
+ definitionList [ (text "foo", [bulletList [plain (text "bar")]]) ]
]
, testGroup "+compact_definition_lists"
[ test markdownCDL "basic compact list" $