From 899feec4d341cf464e9fc6d72e40477ac7fbac15 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 11 Feb 2022 09:42:24 -0800 Subject: RST reader: fix treatment of headerless simple tables. We were producing a header with blank cells rather than no header. Closes #7902. --- test/rst-reader.native | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'test/rst-reader.native') diff --git a/test/rst-reader.native b/test/rst-reader.native index d3e7f6caa..f5c60cd4f 100644 --- a/test/rst-reader.native +++ b/test/rst-reader.native @@ -1124,15 +1124,7 @@ Pandoc , ( AlignDefault , ColWidthDefault ) , ( AlignDefault , ColWidthDefault ) ] - (TableHead - ( "" , [] , [] ) - [ Row - ( "" , [] , [] ) - [ Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [] - , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [] - , Cell ( "" , [] , [] ) AlignDefault (RowSpan 1) (ColSpan 1) [] - ] - ]) + (TableHead ( "" , [] , [] ) []) [ TableBody ( "" , [] , [] ) (RowHeadColumns 0) -- cgit v1.2.3