We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb6abc7 commit 12bb962Copy full SHA for 12bb962
GLFileView.m
@@ -242,6 +242,8 @@ - (void)closeView
242
243
+ (NSString *) escapeHTML:(NSString *)txt
244
{
245
+ if (txt == nil)
246
+ return txt;
247
NSMutableString *newTxt = [NSMutableString stringWithString:txt];
248
[newTxt replaceOccurrencesOfString:@"&" withString:@"&" options:NSLiteralSearch range:NSMakeRange(0, [newTxt length])];
249
[newTxt replaceOccurrencesOfString:@"<" withString:@"<" options:NSLiteralSearch range:NSMakeRange(0, [newTxt length])];
0 commit comments