diff --git a/html/highlighter.ts b/html/highlighter.ts index 91c783e..6e6b650 100644 --- a/html/highlighter.ts +++ b/html/highlighter.ts @@ -124,6 +124,7 @@ export class Highlighter { this.createNode({ position: { line: 0, character: 0 }, color: Palette.String, content: '' }); this.reconsumeIn(State.Script); break; + case Type.EndTag: this.reconsumeIn(State.EndTag); break; default: VERIFY_NOT_REACHED(this.currentToken.type); }