Newlines are not preserved
drahnr opened this issue · comments
Bernhard Schuster commented
Describe the bug
When the fixes are applied, all newlines are convert to \n
.
To Reproduce
Steps to reproduce the behaviour:
- A file containing
\n\r
or\r
- Run
cargo spellcheck fix
- Check newlines from a capable editor
Expected behavior
Preserve the newlines that were there initially
Please complete the following information:
- System: Linux
- Obtained: git
- Version: git