diff options
Diffstat (limited to 'std/encoding/toml.ts')
-rw-r--r-- | std/encoding/toml.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/encoding/toml.ts b/std/encoding/toml.ts index 8a0715ab6..7d340c8e8 100644 --- a/std/encoding/toml.ts +++ b/std/encoding/toml.ts @@ -110,7 +110,7 @@ class Parser { .join("\n") .replace(/"""/g, '"') .replace(/'''/g, `'`) - .replace(/\n/g, "\\n") + .replace(/\n/g, "\\n"), ); isLiteral = false; } else { @@ -321,7 +321,7 @@ class Parser { this.context.currentGroup.type === "array" ) { this.context.currentGroup.arrValues.push( - this.context.currentGroup.objValues + this.context.currentGroup.objValues, ); this.context.currentGroup.objValues = {}; } @@ -350,7 +350,7 @@ class Parser { if (this.context.currentGroup) { if (this.context.currentGroup.type === "array") { this.context.currentGroup.arrValues.push( - this.context.currentGroup.objValues + this.context.currentGroup.objValues, ); } this._groupToOutput(); |