Merge pull request #3806 from iyhkhtrk/test

修复书源规则!排除失效
This commit is contained in:
Xwite 2024-03-16 18:12:38 +08:00 committed by GitHub
commit 8452cd27e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -380,7 +380,7 @@ class AnalyzeByJSoup(doc: Any) {
elements.removeAll(nullSet) //测试过,这样就行 elements.removeAll(nullSet) //测试过,这样就行
*/ */
for (pcInt in indexSet) elements[pcInt].remove() for (pcInt in indexSet.toList().sortedDescending()) elements.removeAt(pcInt)
} else if (split == '.') { //选择 } else if (split == '.') { //选择
val es = Elements() val es = Elements()