Commit Graph

2 Commits

Author SHA1 Message Date
Bastiaan Veelo 2ca0bab22a Retain line ending by default.
If no `--end_of_line` was specified, find the first line ending in the input and use that for the whole output.

All tests include checking for differences in line endings.

Closes #552.
2022-06-02 12:45:32 +02:00
Bastiaan Veelo f81ddeadbd
obey `end_of_line` setting in all tokens (#550)
Multi-line tokens would be written with `LF`, regardless the `end_of_line` setting.

Fixes #228 and also produces end_of_line specified line-endings in strings.
2022-05-25 13:21:07 +02:00