diff --git a/app/src/main/assets/updateLog.md b/app/src/main/assets/updateLog.md index 5dce9caaf..210e30e78 100644 --- a/app/src/main/assets/updateLog.md +++ b/app/src/main/assets/updateLog.md @@ -14,6 +14,7 @@ * 禁止在js里通过geClass反射 * 禁止在js里创建File对象 * 禁止在js里获取Packages scope +2. 优化并修复bug **2021/07/10** 1. 阅读界面长按菜单改回原来样式 diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt index 0d5438348..52ce74772 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt @@ -245,7 +245,7 @@ class AnalyzeByJSoup(doc: Any) { val url = element.attr(lastRule) - if(url.isEmpty() || textS.contains(url)) break + if (url.isBlank() || textS.contains(url)) continue textS.add(url) }