diff --git a/packages/react-native/React/CoreModules/RCTRedBox2AnsiParser.mm b/packages/react-native/React/CoreModules/RCTRedBox2AnsiParser.mm index 50893d3c46ff..dc4a6579ad3d 100644 --- a/packages/react-native/React/CoreModules/RCTRedBox2AnsiParser.mm +++ b/packages/react-native/React/CoreModules/RCTRedBox2AnsiParser.mm @@ -29,7 +29,7 @@ + (NSAttributedString *)attributedStringFromAnsiText:(NSString *)text baseFont:( } auto spans = parseAnsi(text.UTF8String); - NSMutableAttributedString *result =[NSMutableAttributedString new]; + NSMutableAttributedString *result = [NSMutableAttributedString new]; NSDictionary *baseAttributes = @{NSFontAttributeName : font, NSForegroundColorAttributeName : color}; for (const auto &span : spans) {