diff --git a/app/src/main/java/io/legado/app/utils/HtmlFormatter.kt b/app/src/main/java/io/legado/app/utils/HtmlFormatter.kt index e9f58a5cb..86da79bd0 100644 --- a/app/src/main/java/io/legado/app/utils/HtmlFormatter.kt +++ b/app/src/main/java/io/legado/app/utils/HtmlFormatter.kt @@ -55,9 +55,7 @@ object HtmlFormatter { sb.append("") appendPos0 = matcher.end() } - strBefore = if (appendPos0 < strBefore.length) { - strBefore.substring(appendPos0, strBefore.length).replace("\n", "\n  ") //缩进图片之后的非空白段落 - } else "" + strBefore = if (appendPos0 < strBefore.length) strBefore.substring(appendPos0, strBefore.length) else "" } sb.append(