Skip to content

Commit

Permalink
fix: add html comment to parsed text tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Feb 25, 2022
1 parent 1f072d9 commit 4e1a649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/states/OPEN_TAG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<OpenTagMeta> = {
name: "OPEN_TAG",
Expand Down

0 comments on commit 4e1a649

Please sign in to comment.