This repository was archived by the owner on Aug 5, 2024. It is now read-only.
File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1516,7 +1516,7 @@ diff_match_patch.prototype.decodeURI = function(text) {
1516
1516
// (null) in the place where surrogates were split across diff
1517
1517
// boundaries. if we leave those in we'll be stuck with a
1518
1518
// high-surrogate (null) low-surrogate pattern that will break
1519
- // deeper in the library or consumping application. we'll "fix"
1519
+ // deeper in the library or consuming application. we'll "fix"
1520
1520
// these by dropping the (null) and re-joining the surrogate halves
1521
1521
return decoded . replace ( / ( [ \uD800 - \uDBFF ] ) \( n u l l \) ( [ \uDC00 - \uDFFF ] ) / g, "$1$2" ) ;
1522
1522
}
Original file line number Diff line number Diff line change @@ -1497,7 +1497,7 @@ - (NSString *)diff_decodeURIWithText:(NSString *)percentEncoded
1497
1497
// (null) in the place where surrogates were split across diff
1498
1498
// boundaries. if we leave those in we'll be stuck with a
1499
1499
// high-surrogate (null) low-surrogate pattern that will break
1500
- // deeper in the library or consumping application. we'll "fix"
1500
+ // deeper in the library or consuming application. we'll "fix"
1501
1501
// these by dropping the (null) and re-joining the surrogate halves
1502
1502
NSString *result = [NSString stringWithCharacters: decoded length: output];
1503
1503
NSRegularExpression *replacer = [NSRegularExpression
You can’t perform that action at this time.
0 commit comments