git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: test lists in table cells.
616e211Jesse Rosenthal
tests/Tests/Readers/Docx.hs+4
@@ -187,6 +187,10 @@ tests = [ testGroup "inlines"
187 "tables"
187 "tables"
188 "docx/tables.docx"
188 "docx/tables.docx"
189 "docx/tables.native"
189 "docx/tables.native"
190+ , testCompare
191+ "tables with lists in cells"
192+ "docx/table_with_list_cell.docx"
193+ "docx/table_with_list_cell.native"
190 , testCompare
194 , testCompare
191 "code block"
195 "code block"
192 "docx/codeblock.docx"
196 "docx/codeblock.docx"
tests/docx/table_with_list_cell.docxnew file

Binary file not shown.

tests/docx/table_with_list_cell.nativenew file+11
@@ -0,0 +1,11 @@
1+[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
2+ [[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]
3+ ,[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]]
4+ [[[BulletList
5+ [[Para [Str "Cell",Space,Str "with"]]
6+ ,[Para [Str "A"]]
7+ ,[Para [Str "Bullet",Space,Str "list"]]]]
8+ ,[OrderedList (1,Decimal,Period)
9+ [[Para [Str "Cell",Space,Str "with"]]
10+ ,[Para [Str "A"]]
11+ ,[Para [Str "Numbered",Space,Str "list."]]]]]]]