From 5f052184d1e7edd979dc44bc93eb907b57557e22 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 12 Jul 2020 11:12:33 +0800 Subject: [PATCH] =?UTF-8?q?epub=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/io/legado/app/model/analyzeRule/AnalyzeByJSoup.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8ecb6d6bd..bf00f0d43 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 @@ -377,7 +377,8 @@ class AnalyzeByJSoup { textS.add(element.ownText()) } "html" -> { - elements.select("script, style").remove() + elements.select("script").remove() + elements.select("style").remove() val html = elements.outerHtml() textS.add(html) }