on second thought, i want these to stay \n
This commit is contained in:
parent
99ee0da8c1
commit
d24155e47f
1 changed files with 1 additions and 1 deletions
|
|
@ -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}"`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue