toml icon indicating copy to clipboard operation
toml copied to clipboard

Rendering of strings doesn't match toml-rs

Open epage opened this issue 3 years ago • 0 comments

While we intentionally chose to prefer " over ' when no escaping is needed (because this is most likely what users will do), we should probably use """ to avoid quoting " in strings.

We also need to look into our \t handling.

Compare

Note: This only impacts content we auto-generate formatting for. We still preserve a users formatting when roundtripping through the format-preserving API.

epage avatar Dec 31 '21 00:12 epage