fix: hyperlink word count statistics #449
This commit is contained in:
@@ -60,9 +60,7 @@ function pickText(elementList: IElement[]): string {
|
||||
e++
|
||||
}
|
||||
text += pickText(valueList)
|
||||
}
|
||||
// 文本追加
|
||||
if (!element.type || element.type === ElementType.TEXT) {
|
||||
} else if (!element.type || element.type === ElementType.TEXT) {
|
||||
text += element.value
|
||||
}
|
||||
e++
|
||||
|
||||
Reference in New Issue
Block a user