diff --git a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt index 0989f88d5..42e6bd9f6 100644 --- a/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt +++ b/app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt @@ -150,7 +150,7 @@ class AnalyzeByXPath { if (rules.size == 1) { val jxNodes = jxDocument?.selN(rule) jxNodes?.let { - TextUtils.join(",", jxNodes) + return TextUtils.join(",", jxNodes) } return null } else {