I tried to convert
<table> <tr> <th></th> <th>age</th> <th>workclass</th> </tr> <tr> <th>0</th> <td>39</td> <td>State-gov</td> </tr> </table>
to a github pipe table with pandoc blub.html --to markdown_github. However, that resulted in html output. When I explicitly put a space into the first cell:
pandoc blub.html --to markdown_github
<table> <tr> <th> </th> <th>age</th> <th>workclass</th> </tr> <tr> <th>0</th> <td>39</td> <td>State-gov</td> </tr> </table>
I got the expected result:
| | age | workclass | |-----|-----|-----------| | 0 | 39 | State-gov |
This seems like a bug to me.
HTML reader: properly handle an empty cell in a simple table.
Closes #2718.
b8dadc6
thanks, that was quick!
cfe0d97
I tried to convert
to a github pipe table with
pandoc blub.html --to markdown_github
.However, that resulted in html output.
When I explicitly put a space into the first cell:
I got the expected result:
This seems like a bug to me.