From f1f56e85334fd29b4ed670d0b280e85f68e21bf2 Mon Sep 17 00:00:00 2001 From: Timothy Humphries Date: Fri, 17 Oct 2014 20:06:25 -0400 Subject: Fix indent issue for definition lists Tidy up fix for #1650, #1698 as per comments in #1680. Fix same issue for definition lists with the same method. --- tests/Tests/Readers/Org.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/Tests/Readers') diff --git a/tests/Tests/Readers/Org.hs b/tests/Tests/Readers/Org.hs index f27388e46..978bf87b4 100644 --- a/tests/Tests/Readers/Org.hs +++ b/tests/Tests/Readers/Org.hs @@ -744,6 +744,16 @@ tests = , ("PCR", [ plain $ spcSep [ "polymerase", "chain", "reaction" ] ]) ] + , "Definition List With Trailing Header" =: + "- definition :: list\n\ + \- cool :: defs\n\ + \* header" =?> + mconcat [ definitionList [ ("definition", [plain "list"]) + , ("cool", [plain "defs"]) + ] + , header 1 "header" + ] + , "Loose bullet list" =: unlines [ "- apple" , "" -- cgit v1.2.3