From 03e33872c255ac03bf60429bfd9ed15b9e9039f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Wed, 12 Feb 2025 15:34:57 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=89=B9=E6=AE=8A=E6=83=85=E5=86=B5x2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/utils/annoParser.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/web/utils/annoParser.ts b/src/web/utils/annoParser.ts index 6d8ed1fc..4af1de37 100644 --- a/src/web/utils/annoParser.ts +++ b/src/web/utils/annoParser.ts @@ -274,10 +274,7 @@ function parseAnnoSpan( return { insert: parse, attributes: spanAttrs }; } // todo δΌ˜εŒ–ε€„η† - if (span.childNodes.length === 2) { - return { insert: span.textContent ?? "", attributes: spanAttrs }; - } - return defaultRes; + return { insert: span.textContent ?? "", attributes: spanAttrs }; } /**