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