From eaed19dc6b25d56bdc0b2c6a5eac5530a41012e7 Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Sat, 31 Dec 2022 17:22:19 +0900 Subject: [PATCH] rename --- 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 74af375105..65797b7a09 100644 --- a/src/compiler/parse/utils/html.ts +++ b/src/compiler/parse/utils/html.ts @@ -57,10 +57,10 @@ function get_entity_pattern(is_attribute_value: boolean) { } const entity_pattern_content = get_entity_pattern(false); -const entity_pattern_attri_value = get_entity_pattern(true); +const entity_pattern_attr_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; + const entity_pattern = is_attribute_value ? entity_pattern_attr_value : entity_pattern_content; return html.replace(entity_pattern, (match, entity) => { let code;