Closed Kiskae closed 1 week ago
Without this change the text contained in value will be shorter than end - start if it contains \r\n, since all the \r characters will be stripped out. This causes the change offset to be wrong for all subsequent changes.
value
end - start
\r\n
\r
@all-contributors please add @Kiskae for code
@eneajaho
I've put up a pull request to add @Kiskae! :tada:
Without this change the text contained in
value
will be shorter thanend - start
if it contains\r\n
, since all the\r
characters will be stripped out. This causes the change offset to be wrong for all subsequent changes.