diff --git a/Sources/SwiftMath/MathRender/MTMathListBuilder.swift b/Sources/SwiftMath/MathRender/MTMathListBuilder.swift index 8bf0d62..d71d522 100755 --- a/Sources/SwiftMath/MathRender/MTMathListBuilder.swift +++ b/Sources/SwiftMath/MathRender/MTMathListBuilder.swift @@ -617,7 +617,7 @@ public struct MTMathListBuilder { if color == nil { return nil; } - mathColor.colorString = color! + mathColorbox.colorString = color! mathColorbox.innerList = self.buildInternal(true) return mathColorbox } else {