- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 3.7k
Closed
Labels
Description
I got a HTML table
<table>
<tr>
<th class="" colspan="2" rowspan="1"><b>Subject</b></th>
<th class=""><b>Grade</b></th>
</tr>
<tr>
<td class="" colspan="1" rowspan="2">Physics</td>
<td class="">Practical</td>
<td class="">A</td>
</tr>
<tr>
<td class="">Theory</td>
<td class="">B+</td>
</tr>
</table>
and convert it by
echo '<table><tr><th class="" colspan="2" rowspan="1"><b>Subject</b></th><th class=""><b>Grade</b></th></tr><tr><td class="" colspan="1" rowspan="2">Physics</td><td class="">Practical</td><td class="">A</td></tr><tr><td class="">Theory</td><td class="">B+</td></tr></table>' | ./bin/pandoc -f html -t markdown_strict+pipe_tables-raw_html
Expected Result (Pandoc 3.6.1)
| **Subject** |           | **Grade** |
|-------------|-----------|-----------|
| Physics     | Practical | A         |
|             | Theory    | B+        |
Actual Result (Pandoc 3.8)
[TABLE]
Checking the Changelog
I couldn't find anything for pipe tables, but maybe this change in 3.7.0 is related:
Markdown writer:
- Handle row/colspans in grid tables, and expand cells when it isn’t possible to lay them out without breaking string of non-whitespace.