From 2ee8cd799c75fdc93975c9aad668c9bfbcbb5b57 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 12 Jul 2020 18:37:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/utils/StringExtensions.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/utils/StringExtensions.kt b/app/src/main/java/io/legado/app/utils/StringExtensions.kt index ef5ebe933..03909dc95 100644 --- a/app/src/main/java/io/legado/app/utils/StringExtensions.kt +++ b/app/src/main/java/io/legado/app/utils/StringExtensions.kt @@ -34,7 +34,6 @@ fun String?.isJsonArray(): Boolean = fun String?.htmlFormat(): String = this?.replace("]*>".toRegex(), "\n") - ?.replace("<[script>]*.*?>| ".toRegex(), "") ?.replace("\\s*\\n+\\s*".toRegex(), "\n  ") ?.replace("^[\\n\\s]+".toRegex(), "  ") ?.replace("[\\n\\s]+$".toRegex(), "")