diff --git a/pkg/yqlib/encoder_toml.go b/pkg/yqlib/encoder_toml.go index 94987e80..82fc331c 100644 --- a/pkg/yqlib/encoder_toml.go +++ b/pkg/yqlib/encoder_toml.go @@ -93,7 +93,7 @@ func (te *tomlEncoder) formatScalar(node *CandidateNode) string { return node.Value case "!!null": // TOML does not have null; encode as empty string - return "\"\"" + return `""` default: return node.Value }