Skip to content

Commit c1b8bcf

Browse files
committed
fix: clear cached lines on reset
1 parent 6907c8b commit c1b8bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Parser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ export class Parser {
5454
this.forward = this.isConcise = true;
5555
this.pos = this.maxPos = this.textPos = -1;
5656
this.data = this.filename = this.indent = "";
57-
this.activeTag = this.activeAttr = undefined;
5857
this.beginMixedMode = this.endingMixedModeAtEOL = false;
58+
this.lines = this.activeTag = this.activeAttr = undefined;
5959
this.enterState(STATE.CONCISE_HTML_CONTENT);
6060
}
6161

0 commit comments

Comments
 (0)