diff --git a/src/states/OPEN_TAG.ts b/src/states/OPEN_TAG.ts index 6bc703f4..953dd220 100644 --- a/src/states/OPEN_TAG.ts +++ b/src/states/OPEN_TAG.ts @@ -31,7 +31,7 @@ export interface OpenTagMeta extends Range { indent: string; nestedIndent?: string; } -const PARSED_TEXT_TAGS = ["script", "style", "textarea"]; +const PARSED_TEXT_TAGS = ["script", "style", "textarea", "html-comment"]; export const OPEN_TAG: StateDefinition = { name: "OPEN_TAG",