aboutsummaryrefslogtreecommitdiff
path: root/test/testsuite.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-02-23 15:40:06 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-02-25 17:33:54 -0800
commitba05e1ea02d5227796f12dea2404285300021de6 (patch)
tree6ee0d7372dcfcd55c67c52b590b32cb1c12701f0 /test/testsuite.native
parent38c028bd50fc3781e69370864f163f8d33fd481f (diff)
downloadpandoc-ba05e1ea02d5227796f12dea2404285300021de6.tar.gz
Shared.compactify: Avoid mixed lists.
This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix.
Diffstat (limited to 'test/testsuite.native')
-rw-r--r--test/testsuite.native2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsuite.native b/test/testsuite.native
index 73fcc0633..f9132c797 100644
--- a/test/testsuite.native
+++ b/test/testsuite.native
@@ -137,7 +137,7 @@ Pandoc (Meta {unMeta = fromList [("author",MetaList [MetaInlines [Str "John",Spa
,[Para [Str "this",Space,Str "is",Space,Str "an",Space,Str "example",Space,Str "list",Space,Str "item",SoftBreak,Str "indented",Space,Str "with",Space,Str "spaces"]]]]]
,Header 2 ("fancy-list-markers",[],[]) [Str "Fancy",Space,Str "list",Space,Str "markers"]
,OrderedList (2,Decimal,TwoParens)
- [[Plain [Str "begins",Space,Str "with",Space,Str "2"]]
+ [[Para [Str "begins",Space,Str "with",Space,Str "2"]]
,[Para [Str "and",Space,Str "now",Space,Str "3"]
,Para [Str "with",Space,Str "a",Space,Str "continuation"]
,OrderedList (4,LowerRoman,Period)