Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unintuitive transformation #179

Open
twmr opened this issue May 5, 2023 · 0 comments
Open

Unintuitive transformation #179

twmr opened this issue May 5, 2023 · 0 comments

Comments

@twmr
Copy link

twmr commented May 5, 2023

First of all thx for this great tool! I've just noticed that it performs the following transformation

writer.write(CR + LF + "Goodbye" + CR + LF)
->
writer.write(f"{CR + LF}Goodbye{CR}{LF}")

which is correct but it is a bit inconsistent (why does it use {CR + LF} at the beginning but {CR}{LF} at the end?).

I would expect the following result

writer.write(f"{CR}{LF}Goodbye{CR}{LF}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant