Skip to content

Commit c954472

Browse files
committed
fix: remove unneeded characters that Android doesn't handle anyway
1 parent a5f2004 commit c954472

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

ios/utils/StringExtension.mm

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ + (NSString *)stringByEscapingHtml:(NSString *)html {
1616
@"&": @"&",
1717
@"<": @"&lt;",
1818
@">": @"&gt;",
19-
@"\"": @"&quot;",
20-
@"'": @"&apos;",
21-
@"/": @"&sol;",
2219
};
2320

2421
for(NSString *key in escapeMap) {
@@ -32,9 +29,6 @@ + (NSDictionary *)getEscapedCharactersInfoFrom:(NSString *)text {
3229
@"&amp;": @"&",
3330
@"&lt;": @"<",
3431
@"&gt;": @">",
35-
@"&quot;": @"\"",
36-
@"&apos;": @"'",
37-
@"&sol;": @"/",
3832
};
3933

4034
NSMutableDictionary *results = [[NSMutableDictionary alloc] init];

0 commit comments

Comments
 (0)