diff --git a/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift b/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift index c69fca9..5109fca 100755 --- a/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift +++ b/Sources/SwiftMath/MathRender/MTMathAtomFactory.swift @@ -848,7 +848,7 @@ public class MTMathAtomFactory { let spacer = MTMathAtom(type: .ordinary, value: "") for i in 0..= 1 { + if table.cells[i].count >= 2 { table.cells[i][1].insert(spacer, at: 0) } }