Table rendering is no longer working with the latest version. With the test code:
var showdown = require('showdown'),
converter = new showdown.Converter({tables: 'true'}),
text = ['|key|value|',
'|--|--|',
'|My Key|My Value|'].join('\n');
html = converter.makeHtml(text);
console.log(html);
The latest version showdown@^1.4.0 generates:
<p>|key|value|
|---|---|
|My Key|My Value|</p>
The prior versionshowdown@~1.3.0 generates it correctly as:
<table>
<thead>
<tr>
<th>key</th>
<th>value</th>
</tr>
</thead>
<tbody>
<tr>
<td>My Key</td>
<td>My Value</td>
</tr>
</tbody>
</table>
Table rendering is no longer working with the latest version. With the test code:
The latest version
showdown@^1.4.0generates:The prior version
showdown@~1.3.0generates it correctly as: