-
Notifications
You must be signed in to change notification settings - Fork 109
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
toml_edit
doesn't properly handle quotes in strings
#128
Labels
C-bug
Category: Things not working as expected
Comments
This was referenced Aug 26, 2021
Closed
I tried reaching out on gitter but got no response: https://gitter.im/Marwes/combine?at=612547ac5739ab2df8b6c2ec |
This was referenced Sep 22, 2021
epage
added a commit
to epage/toml_edit
that referenced
this issue
Sep 28, 2021
This doesn't fix toml-rs#128 but it makes it clearer where we are broken. We might also get some batching string creation performance benefits. This also makes it clear why `ml_literal_string` needs to allocate. We could possibly swap out a `Cow` so only `\r\n` users see a cost.
epage
added a commit
that referenced
this issue
Sep 28, 2021
This doesn't fix #128 but it makes it clearer where we are broken. We might also get some batching string creation performance benefits. This also makes it clear why `ml_literal_string` needs to allocate. We could possibly swap out a `Cow` so only `\r\n` users see a cost.
Github's regex is way too loose when it closes things as fixed because you explained it wasn't fixed. Thanks for noticing! |
epage
added a commit
to epage/toml_edit
that referenced
this issue
Sep 29, 2021
Required munging the grammar so `combine` could understand, but we got it! Fixes toml-rs#128
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run
cargo test decoder_compliance -- --noignore
and you'll see a test failure for'''' test ''''
which should produce' test '
but instead errors.The text was updated successfully, but these errors were encountered: