From 4e1a6492a74dc0c1144fd0f140f36dc30f24edda Mon Sep 17 00:00:00 2001 From: Dylan Piercey Date: Fri, 25 Feb 2022 08:56:45 -0700 Subject: [PATCH] fix: add html comment to parsed text tags --- src/states/OPEN_TAG.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",