Squarkdown will attempt to repair broken HTML that it finds while rendering.
Currently, this includes:
- Repairing tables by inserting missing
<tbody>.
Repairing Tables
Opt in by setting format.repair-tables = true.
This is a common shorthand when handwriting HTML tables:
<table>
<tr>
...
</tr>
</table> However, it’s technically invalid – it should really be inside a <tbody> element:
<table>
+ <tbody>
<tr>
...
</tr>
+ </tbody>
</table> As of SvelteKit 3 (I believe) the former is now rejected, so the latter is strictly necessary. If you still want to use the former (like me :P), Squarkdown will automatically insert the missing <tbody> for you.