-
-
Notifications
You must be signed in to change notification settings - Fork 531
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
Line ending backslash in """ causes later line breaks to also be removed #372
Comments
This probably broke quite a few releases ago, as this hasn't been touched since last year; I'm guessing with 35432de. I should probably rewrite that entire logic; I'm having trouble following it now. |
Let me take a look at #371 before the release; then every (known) bug should be fixed. |
I agree; I would (should) have fixed it much earlier; I just haven't been able to spend as much time on things in the last few months as I'd like due to some personal issues; I've been picking up things again since last week, but there's a bit of a backlog (so many emails...). I actually did create a quick fix yesterday, but your PR pre-empted that (and it's nicer anyway). However, it seems to have been broken since June 2021, so it's less often used than I would expect, and in that context a few more days probably won't matter too much, I think? It avoids having to push out a new bugfix release just for that. |
One thing that makes that a bit tricky to evaluate is that people might not be pulling in the latest version of this package very quickly in well-established code bases with a lot of TOML given how MVS works. At my work we only pulled in this bug about five months ago.
Sure, a few days is fine by me. And as I said I'm also happy to run the release if that would help. |
I tagged v1.3.0. |
@arp242 thanks! |
Hi, I'm having trouble with breaking long lines in
"""
delimited strings using a backslash. This is called a "line ending backslash" in the toml spec.Reproducer:
Expected output, which is generated with BurntSushi/toml v0.3.1:
Output with BurntSushi/toml v1.2.1:
Any chance of fixing this? Thanks!
The text was updated successfully, but these errors were encountered: