This repository was archived by the owner on Aug 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 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) {
15161516 // (null) in the place where surrogates were split across diff
15171517 // boundaries. if we leave those in we'll be stuck with a
15181518 // 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"
15201520 // these by dropping the (null) and re-joining the surrogate halves
15211521 return decoded . replace ( / ( [ \uD800 - \uDBFF ] ) \( n u l l \) ( [ \uDC00 - \uDFFF ] ) / g, "$1$2" ) ;
15221522 }
Original file line number Diff line number Diff line change @@ -1497,7 +1497,7 @@ - (NSString *)diff_decodeURIWithText:(NSString *)percentEncoded
14971497 // (null) in the place where surrogates were split across diff
14981498 // boundaries. if we leave those in we'll be stuck with a
14991499 // 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"
15011501 // these by dropping the (null) and re-joining the surrogate halves
15021502 NSString *result = [NSString stringWithCharacters: decoded length: output];
15031503 NSRegularExpression *replacer = [NSRegularExpression
You can’t perform that action at this time.
0 commit comments