Incorrect string escaping in TOML encoder #201
Labels
component: encoder
Related to serialising in `toml.dump`
syntax: strings
Related to string literals
type: bug
A confirmed bug or unintended behavior
While encoding string values, the TOML encoder incorrecty handles backslash characters that occur in the string value.
For example:
returns
which is not valid TOML.
This bug also triggers failures in the encoder tests "escaped-escape" and "string-escapes" from the TOML test suite.
The text was updated successfully, but these errors were encountered: