diff --git a/.gitignore b/.gitignore index cdfdf26..4117a54 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ /npm-debug.log /src/version.ts + +.idea diff --git a/src/parser/parse.ts b/src/parser/parse.ts index ec7a2f8..1fe9b7c 100644 --- a/src/parser/parse.ts +++ b/src/parser/parse.ts @@ -240,7 +240,7 @@ class ParserRun { parse_newline(parent: ParseNode): ParseNode | null { const current = new ParseNode(parent); - if (this.read(current, "\\N") === null) { + if (this.read(current, "\\N") === null && this.read(current, "\\n") === null) { parent.pop(); return null; }