From 60f84c71197c88008b2b5202ea3dd0c1facf51c1 Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 15 Oct 2021 19:03:52 +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/help/ContentProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/help/ContentProcessor.kt b/app/src/main/java/io/legado/app/help/ContentProcessor.kt index 7c1e319c4..14f0e1481 100644 --- a/app/src/main/java/io/legado/app/help/ContentProcessor.kt +++ b/app/src/main/java/io/legado/app/help/ContentProcessor.kt @@ -114,7 +114,7 @@ class ContentProcessor private constructor( it.code <= 0x20 || it == ' ' } if (paragraph.isNotEmpty()) { - if (contents.isEmpty()) { + if (contents.isEmpty() && includeTitle) { contents.add(paragraph) } else { contents.add("${ReadBookConfig.paragraphIndent}$paragraph")