Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Bluepill-cli/Bluepill-cli/Bluepill/Reporters/BPReporters.m
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ + (NSString *)xmlSimpleEscape:(NSString *)originalString {
[string replaceOccurrencesOfString:@"'" withString:@"'" options:NSLiteralSearch range:NSMakeRange(0, [string length])];
[string replaceOccurrencesOfString:@">" withString:@">" options:NSLiteralSearch range:NSMakeRange(0, [string length])];
[string replaceOccurrencesOfString:@"<" withString:@"&lt;" options:NSLiteralSearch range:NSMakeRange(0, [string length])];
// Replace UTF-8 Backspace
[string replaceOccurrencesOfString:@"\x08" withString:@"&#x8;" options:NSLiteralSearch range:NSMakeRange(0, [string length])];

return [NSString stringWithString:string];
}
Expand Down