fix: hyperlink word count statistics #449

This commit is contained in:
Hufe921
2024-03-08 20:03:01 +08:00
parent 245a77cd1f
commit 180bd08839
+1 -3
View File
@@ -60,9 +60,7 @@ function pickText(elementList: IElement[]): string {
e++ e++
} }
text += pickText(valueList) text += pickText(valueList)
} } else if (!element.type || element.type === ElementType.TEXT) {
// 文本追加
if (!element.type || element.type === ElementType.TEXT) {
text += element.value text += element.value
} }
e++ e++