Merge pull request #1198 from bushixuanqi/patch-3

修复bug
pull/1202/head
kunfei 3 years ago committed by GitHub
commit 7321209131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/src/main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt

@ -401,7 +401,7 @@ class AnalyzeByJSoup(doc: Any) {
var rl = rus[len]
if (rl == ' ') continue //跳过空格
if (rl in '0'..'9') l += rl //将数值累接入临时字串中,遇到分界符才取出
if (rl in '0'..'9') l = rl + l //将数值累接入临时字串中,遇到分界符才取出
else if (rl == '-') curMinus = true
else {
@ -461,7 +461,7 @@ class AnalyzeByJSoup(doc: Any) {
val rl = rus[len]
if (rl == ' ') continue //跳过空格
if (rl in '0'..'9') l += rl //将数值累接入临时字串中,遇到分界符才取出
if (rl in '0'..'9') l = rl + l //将数值累接入临时字串中,遇到分界符才取出
else if (rl == '-') curMinus = true
else {

Loading…
Cancel
Save