ngxtension / ngxtension-platform

Utilities for Angular
https://ngxtension.netlify.app/
MIT License
531 stars 77 forks source link

fix(signal-input-migration): preserve line endings #432

Closed Kiskae closed 1 week ago

Kiskae commented 3 weeks 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.

eneajaho commented 1 week ago

@all-contributors please add @Kiskae for code

allcontributors[bot] commented 1 week ago

@eneajaho

I've put up a pull request to add @Kiskae! :tada: