You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The toml spec says that the key, equal sign, and value must be on the same line (the value can span multiple lines if it is a multiline string but it must start on the same line as the other parts). ( https://toml.io/en/v1.0.0#keyvalue-pair )
I asked for clarification of what should happen with newlines in key values on the toml lang github and the consensus was that the escaped form of a newline should be used instead of the actual newline: toml-lang/toml#826
Thus the desired behaviour would be for tomlkit.dumps do this:
Hi I was looking at the tomlkit behaviour with newlines in keys and found a bug:
The toml spec says that the key, equal sign, and value must be on the same line (the value can span multiple lines if it is a multiline string but it must start on the same line as the other parts). ( https://toml.io/en/v1.0.0#keyvalue-pair )
I asked for clarification of what should happen with newlines in key values on the toml lang github and the consensus was that the escaped form of a newline should be used instead of the actual newline: toml-lang/toml#826
Thus the desired behaviour would be for tomlkit.dumps do this:
The text was updated successfully, but these errors were encountered: