diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-23 15:40:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-25 17:33:54 -0800 |
commit | ba05e1ea02d5227796f12dea2404285300021de6 (patch) | |
tree | 6ee0d7372dcfcd55c67c52b590b32cb1c12701f0 /test/writer.native | |
parent | 38c028bd50fc3781e69370864f163f8d33fd481f (diff) | |
download | pandoc-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/writer.native')
-rw-r--r-- | test/writer.native | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/writer.native b/test/writer.native index 73fcc0633..f9132c797 100644 --- a/test/writer.native +++ b/test/writer.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) |