2017-03-21 14:16:46 +01:00
|
|
|
Correctly handle empty row:
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t rst
|
|
|
|
+---+---+
|
|
|
|
| 1 | 2 |
|
|
|
|
+---+---+
|
|
|
|
| | |
|
|
|
|
+---+---+
|
|
|
|
^D
|
|
|
|
+---+---+
|
|
|
|
| 1 | 2 |
|
|
|
|
+---+---+
|
|
|
|
| | |
|
|
|
|
+---+---+
|
|
|
|
```
|
2017-03-22 14:36:12 +01:00
|
|
|
|
|
|
|
Temporarily added these to figure out what is happening
|
|
|
|
on Windows builds.
|
|
|
|
```
|
|
|
|
% pandoc -f markdown -t native
|
|
|
|
+---+---+
|
|
|
|
| 1 | 2 |
|
|
|
|
+---+---+
|
|
|
|
| | |
|
|
|
|
+---+---+
|
|
|
|
^D
|
2020-03-28 18:22:48 -04:00
|
|
|
[Table ("",[],[]) (Caption Nothing
|
2020-04-04 16:35:42 -04:00
|
|
|
[])
|
|
|
|
[(AlignDefault,ColWidth 5.555555555555555e-2)
|
|
|
|
,(AlignDefault,ColWidth 5.555555555555555e-2)]
|
|
|
|
(TableHead ("",[],[])
|
2020-03-28 18:22:48 -04:00
|
|
|
[Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-03-28 18:22:48 -04:00
|
|
|
[]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]]])
|
2020-04-05 19:53:35 -04:00
|
|
|
[(TableBody ("",[],[]) (RowHeadColumns 0)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]
|
|
|
|
[Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[Plain [Str "1"]]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[Plain [Str "2"]]]
|
|
|
|
,Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]]])]
|
|
|
|
(TableFoot ("",[],[])
|
|
|
|
[])]
|
2017-03-22 14:36:12 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
% pandoc -f native -t rst
|
2020-03-28 18:22:48 -04:00
|
|
|
[Table ("",[],[]) (Caption Nothing
|
2020-04-04 16:35:42 -04:00
|
|
|
[])
|
|
|
|
[(AlignDefault,ColWidth 5.555555555555555e-2)
|
|
|
|
,(AlignDefault,ColWidth 5.555555555555555e-2)]
|
|
|
|
(TableHead ("",[],[])
|
2020-03-28 18:22:48 -04:00
|
|
|
[Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-03-28 18:22:48 -04:00
|
|
|
[]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]]])
|
2020-04-05 19:53:35 -04:00
|
|
|
[(TableBody ("",[],[]) (RowHeadColumns 0)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]
|
|
|
|
[Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[Para [Str "1"]]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[Para [Str "2"]]]
|
|
|
|
,Row ("",[],[])
|
2020-04-05 19:53:35 -04:00
|
|
|
[Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]
|
2020-04-05 19:53:35 -04:00
|
|
|
,Cell ("",[],[]) AlignDefault (RowSpan 1) (ColSpan 1)
|
2020-04-04 16:35:42 -04:00
|
|
|
[]]])]
|
|
|
|
(TableFoot ("",[],[])
|
|
|
|
[])]
|
2017-03-22 14:36:12 +01:00
|
|
|
^D
|
|
|
|
+---+---+
|
|
|
|
| 1 | 2 |
|
|
|
|
+---+---+
|
|
|
|
| | |
|
|
|
|
+---+---+
|
|
|
|
```
|