From ae3c36538a26aa2e5de8a219c012741ec9c1fc3e Mon Sep 17 00:00:00 2001 From: xxkl1 Date: Mon, 19 Dec 2022 20:08:48 +0800 Subject: [PATCH] [chore] add semicolon --- src/compiler/parse/utils/html.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compiler/parse/utils/html.ts b/src/compiler/parse/utils/html.ts index 014da5b3b9..74af375105 100644 --- a/src/compiler/parse/utils/html.ts +++ b/src/compiler/parse/utils/html.ts @@ -56,8 +56,8 @@ function get_entity_pattern(is_attribute_value: boolean) { return entity_pattern; } -const entity_pattern_content = get_entity_pattern(false) -const entity_pattern_attri_value = get_entity_pattern(true) +const entity_pattern_content = get_entity_pattern(false); +const entity_pattern_attri_value = get_entity_pattern(true); export function decode_character_references(html: string, is_attribute_value: boolean) { const entity_pattern = is_attribute_value ? entity_pattern_attri_value : entity_pattern_content;