aboutsummaryrefslogtreecommitdiff
path: root/test/command/4513.md
diff options
context:
space:
mode:
authordespresc <[email protected]>2020-04-04 16:35:42 -0400
committerdespresc <[email protected]>2020-04-15 23:03:22 -0400
commit4e34d366df31937cdc69b6b366355f10a84c16b2 (patch)
tree844503b0f59439acaec5d2f8e2f016e2eb1d214c /test/command/4513.md
parentf8ce38975b547fe7fc8c12ccee3a940b35d8b9cf (diff)
Adapt to the newest Table type, fix some previous adaptation issues
- Writers.Native is now adapted to the new Table type. - Inline captions should now be conditionally wrapped in a Plain, not a Para block. - The toLegacyTable function now lives in Writers.Shared.
Diffstat (limited to 'test/command/4513.md')
-rw-r--r--test/command/4513.md18
1 files changed, 12 insertions, 6 deletions
diff --git a/test/command/4513.md b/test/command/4513.md
index e315d3820..ad0374f0c 100644
--- a/test/command/4513.md
+++ b/test/command/4513.md
@@ -3,12 +3,18 @@
|_. heading 1 |_. heading 2|
^D
[Table ("",[],[]) (Caption Nothing
- []) [(AlignDefault,Nothing),(AlignDefault,Nothing)] 0
+ [])
+ [(AlignDefault,ColWidthDefault)
+ ,(AlignDefault,ColWidthDefault)]
+ (TableHead ("",[],[])
[Row ("",[],[])
- [Cell ("",[],[]) Nothing 1 1
+ [Cell ("",[],[]) AlignDefault (RowSpan {getRowSpan = 1}) (ColSpan {getColSpan = 1})
[Plain [Str "heading",Space,Str "1"]]
- ,Cell ("",[],[]) Nothing 1 1
- [Plain [Str "heading",Space,Str "2"]]]]
- []
- []]
+ ,Cell ("",[],[]) AlignDefault (RowSpan {getRowSpan = 1}) (ColSpan {getColSpan = 1})
+ [Plain [Str "heading",Space,Str "2"]]]])
+ [(TableBody ("",[],[]) (RowHeadColumns {getRowHeadColumns = 0})
+ []
+ [])]
+ (TableFoot ("",[],[])
+ [])]
```