From 91f721e28c0a44a642eb260c5306d09624c9d69c Mon Sep 17 00:00:00 2001 From: bushixuanqi <57338301+bushixuanqi@users.noreply.github.com> Date: Sun, 4 Jul 2021 03:19:05 +0800 Subject: [PATCH] Update AnalyzeByJSoup.kt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 重置区间暂存列表,解决存在多个区间时的问题 --- .../main/java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt | 2 ++ 1 file changed, 2 insertions(+) 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 81855fcbf..112e85982 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 @@ -244,6 +244,8 @@ class AnalyzeByJSoup(doc: Any) { ) + curList.clear() //重置 + if(rl == '!'){ indexSet.split='!' do{ rl = rus[--len] } while (len > 0 && rl == ' ')//跳过所有空格