mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-14 09:38:13 +08:00
♻️ 处理特殊情况x2
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user