feat: 修复xpath获取正文多了许多逗号的bug

pull/248/head
gedoor 4 years ago
parent b5d65e8911
commit a6582c14c4
  1. 2
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByXPath.kt

@ -169,7 +169,7 @@ class AnalyzeByXPath {
if (rules.size == 1) { if (rules.size == 1) {
val jxNodes = jxNode?.sel(rule) ?: jxDocument?.selN(rule) val jxNodes = jxNode?.sel(rule) ?: jxDocument?.selN(rule)
jxNodes?.let { jxNodes?.let {
return TextUtils.join(",", jxNodes) return TextUtils.join("\n", jxNodes)
} }
return null return null
} else { } else {

Loading…
Cancel
Save