Fix regression

Signed-off-by: Matouš Jan Fialka <mjf@mjf.cz>
This commit is contained in:
Matouš Jan Fialka
2026-03-06 08:52:54 +01:00
parent 9b37060d9f
commit 7c35c05367
+1 -1
View File
@@ -199,7 +199,7 @@ export function normalizeTableRow(row: ParseTree): void {
let lookingForCell = false;
for (const child of children) {
if (child.type === "TableDelimiter" && lookingForCell) {
normalized.push({ type: "TableCell", children: [{ text: "" }] });
normalized.push({ type: "TableCell", children: [] });
}
if (child.type === "TableDelimiter") {
lookingForCell = true;