blob: 4721e190919ec79fe553cea73a4291270c5c7a8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# A single pipe is parsed as an empty table
```
% pandoc -f org -t html
|
^D
<table>
<tbody>
<tr class="odd">
</tr>
</tbody>
</table>
```
# Accepts an empty org table within a grid table cell
The misaligned pipe in the first row is treated as an empty table.
```
% pandoc -f org -t html
+-----+-----+-----+-----------+
| | | | |
+:====+=====+====:+==========:+
| a | b | c | d |
+-----+-----+-----+-----------+
^D
<table style="width:42%;">
<colgroup>
<col style="width: 8%" />
<col style="width: 8%" />
<col style="width: 8%" />
<col style="width: 16%" />
</colgroup>
<thead>
<tr class="header">
<th style="text-align: left;"></th>
<th></th>
<th style="text-align: right;"></th>
<th style="text-align: right;"><table>
<tbody>
<tr class="odd">
</tr>
</tbody>
</table></th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td style="text-align: left;">a</td>
<td>b</td>
<td style="text-align: right;">c</td>
<td style="text-align: right;">d</td>
</tr>
</tbody>
</table>
```
|