We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6539a7c commit eb1ef70Copy full SHA for eb1ef70
1 file changed
ios/input/ENRMInputParser.mm
@@ -270,7 +270,7 @@ @implementation ENRMInputParser
270
}
271
272
NSUInteger contentStart = mapByteOffset(byteMap, spanInfo.contentStartByteOffset, context.bufferLength);
273
- NSUInteger contentEnd = mapByteOffset(byteMap, spanInfo.contentEndByteOffset, context.originalLength);
+ NSUInteger contentEnd = mapByteOffset(byteMap, spanInfo.contentEndByteOffset, context.bufferLength);
274
styledRange.contentRange = NSMakeRange(contentStart, contentEnd - contentStart);
275
276
NSUInteger openStart = mapByteOffset(byteMap, spanInfo.openingDelimiterByteOffset, context.bufferLength);
0 commit comments