mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 02:06:32 +00:00
Docx reader: test lists in table cells.
This commit is contained in:
@@ -187,6 +187,10 @@ tests = [ testGroup "inlines"
|
||||
"tables"
|
||||
"docx/tables.docx"
|
||||
"docx/tables.native"
|
||||
, testCompare
|
||||
"tables with lists in cells"
|
||||
"docx/table_with_list_cell.docx"
|
||||
"docx/table_with_list_cell.native"
|
||||
, testCompare
|
||||
"code block"
|
||||
"docx/codeblock.docx"
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,11 @@
|
||||
[Table [] [AlignDefault,AlignDefault] [0.0,0.0]
|
||||
[[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]
|
||||
,[Plain [Str "Cell",Space,Str "with",Space,Str "text"]]]
|
||||
[[[BulletList
|
||||
[[Para [Str "Cell",Space,Str "with"]]
|
||||
,[Para [Str "A"]]
|
||||
,[Para [Str "Bullet",Space,Str "list"]]]]
|
||||
,[OrderedList (1,Decimal,Period)
|
||||
[[Para [Str "Cell",Space,Str "with"]]
|
||||
,[Para [Str "A"]]
|
||||
,[Para [Str "Numbered",Space,Str "list."]]]]]]]
|
||||
Reference in New Issue
Block a user