I'm not sure if I'm doing anything wrong, but if I copy this exact example, the table rows are rendered outside of the <table>:
https://github.com/github/jtml#iterables-like-arrays-1
This is the output I'm getting:
<tr>
<td>Spanner</td>
<td>5</td>
</tr>
<tr>
<td>Wrench</td>
<td>5</td>
</tr>
<table></table
I tested this in : Firefox 89.0.2 (64-bit and Edge Version 91.0.864.59 (Official build) (64-bit)