[FIX] blockdom: toString method in multi could crash

This commit is contained in:
Géry Debongnie
2022-01-17 13:51:50 +01:00
committed by Aaron Bohy
parent 281b32965e
commit 7711733a23
4 changed files with 44 additions and 1 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ export class VMulti {
}
toString(): string {
return this.children.map((c) => c!.toString()).join("");
return this.children.map((c) => (c ? c!.toString() : "")).join("");
}
}