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 96b210ad9..7443c0244 100644 --- a/app/src/main/java/io/legado/app/utils/StringExtensions.kt +++ b/app/src/main/java/io/legado/app/utils/StringExtensions.kt @@ -2,7 +2,7 @@ package io.legado.app.utils val removeHtmlRegex = "]*>".toRegex() val imgRegex = "]*>".toRegex() -val notImgHtmlRegex = "^\\s*|]*>".toRegex() +val notImgHtmlRegex = "]*>".toRegex() fun String?.safeTrim() = if (this.isNullOrBlank()) null else this.trim()