♻️ 处理特殊情况x2

This commit is contained in:
目棃
2025-02-12 15:34:57 +08:00
parent 5b5f96c2d3
commit 03e33872c2

View File

@@ -274,11 +274,8 @@ function parseAnnoSpan(
return { insert: parse, attributes: spanAttrs }; return { insert: parse, attributes: spanAttrs };
} }
// todo 优化处理 // todo 优化处理
if (span.childNodes.length === 2) {
return { insert: span.textContent ?? "", attributes: spanAttrs }; return { insert: span.textContent ?? "", attributes: spanAttrs };
} }
return defaultRes;
}
/** /**
* @description 解析公告图片 * @description 解析公告图片