yuin / goldmark

:trophy: A markdown parser written in Go. Easy to extend, standard(CommonMark) compliant, well structured.
MIT License
3.68k stars 255 forks source link

table extension: Merged table columns when it starts with `\` #115

Closed reuixiy closed 4 years ago

reuixiy commented 4 years ago

Hi @yuin,

Thank you for your outstanding work! :smiley_cat:

The issue I encountered is quite similar with #69, but my test is as follows:

foo|bar
---|---
`\` | second column

Output:

<table>
<thead>
<tr>
<th>foo</th>
<th>bar</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>\</code> | second column</td>
<td></td>
</tr>
</tbody>
</table>