Skip to content

Commit

Permalink
fix: unclosed tag error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Jun 10, 2023
1 parent aeec694 commit 2e51f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export function parse(this: Eta, str: string): Array<AstObject> {
}
buffer.push(currentObj);
} else {
ParseErr("unclosed tag", str, m.index + precedingString.length);
ParseErr("unclosed tag", str, m.index);
}
}

Expand Down

0 comments on commit 2e51f43

Please sign in to comment.