aboutsummaryrefslogtreecommitdiff
path: root/test/tables-rstsubset.native
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-01-07 11:06:25 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-01-07 11:07:03 -0800
commitc0d8b186d142eb5e9f845de0a4ebcadd04c32dce (patch)
tree9a10827ce3da8345ff04c3ea6ecf12706e4e1d6a /test/tables-rstsubset.native
parent533b2edd51f9d85fe3ae0d54b2b22fb980e3d066 (diff)
downloadpandoc-c0d8b186d142eb5e9f845de0a4ebcadd04c32dce.tar.gz
T.P.Parsing: modify gridTableWith' for headerless tables.
If the table lacks a header, the header row should be an empty list. Previously we got a list of empty cells, which caused an empty header to be emitted instead of no header. In LaTeX/PDF output that meant we got a double top line with space between. @tarleb @despres - please let me know if this is problematic for some reason I'm not grasping.
Diffstat (limited to 'test/tables-rstsubset.native')
-rw-r--r--test/tables-rstsubset.native10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index b584bb7ea..2536ff954 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -276,15 +276,7 @@
,(AlignDefault,ColWidth 0.15)
,(AlignDefault,ColWidth 0.3375)]
(TableHead ("",[],[])
- [Row ("",[],[])
- [Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []
- ,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
- []]])
+ [])
[(TableBody ("",[],[]) (RowHeadColumns 0)
[]
[Row ("",[],[])