From d24155e47f7a2835046850496ade50df978bf9c5 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Mon, 6 Apr 2026 19:54:31 -0600 Subject: [PATCH] on second thought, i want these to stay \n --- src/ast.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ast.ts b/src/ast.ts index 92a03db..44a40d6 100644 --- a/src/ast.ts +++ b/src/ast.ts @@ -243,7 +243,7 @@ export function prettyPrint(ast: AST, indent = 0): string { const escaped = val.value .replace(/\\/g, '\\\\') .replace(/"/g, '\\"') - // .replace(/\n/g, '\\n') + .replace(/\n/g, '\\n') .replace(/\t/g, '\\t'); return `"${escaped}"`; }