We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5712b7f commit 32056bcCopy full SHA for 32056bc
src/html/tokenizer.ts
@@ -1942,9 +1942,12 @@ export class Tokenizer {
1942
this.startToken("VExpressionEnd")
1943
this.appendTokenValue(RIGHT_CURLY_BRACKET, null)
1944
1945
- return this.vExpressionScriptState
1946
- ? this.vExpressionScriptState.state
1947
- : this.returnState
+ if (this.vExpressionScriptState) {
+ const state = this.vExpressionScriptState.state
+ this.vExpressionScriptState = null
1948
+ return state
1949
+ }
1950
+ return this.returnState
1951
}
1952
1953
0 commit comments