mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-15 09:48:14 +08:00
♻️ 处理特殊情况x2
This commit is contained in:
@@ -274,11 +274,8 @@ function parseAnnoSpan(
|
||||
return { insert: parse, attributes: spanAttrs };
|
||||
}
|
||||
// todo 优化处理
|
||||
if (span.childNodes.length === 2) {
|
||||
return { insert: span.textContent ?? "", attributes: spanAttrs };
|
||||
}
|
||||
return defaultRes;
|
||||
}
|
||||
|
||||
/**
|
||||
* @description 解析公告图片
|
||||
|
||||
Reference in New Issue
Block a user