From 918824f26b4b6531d66d5b52c66c857ec1cdcbdb Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Wed, 4 Jun 2025 12:17:49 +0500 Subject: [PATCH] core: skip decodine entities when parsing html --- packages/core/src/utils/html-parser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/utils/html-parser.ts b/packages/core/src/utils/html-parser.ts index d14f229ba..a64ca5e90 100644 --- a/packages/core/src/utils/html-parser.ts +++ b/packages/core/src/utils/html-parser.ts @@ -199,7 +199,8 @@ export function extractMatchingBlocks(html: string, matchTagName: string) { } }, { - lowerCaseTags: false + lowerCaseTags: false, + decodeEntities: false } ); parser.end(html);