From 7395f84e0d7ab2442245ca7ce14b021f9969636c Mon Sep 17 00:00:00 2001 From: kunfei Date: Sat, 17 Aug 2019 23:00:21 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/model/webbook/BookContent.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/model/webbook/BookContent.kt b/app/src/main/java/io/legado/app/model/webbook/BookContent.kt index 69f1f9425..77fb14ebc 100644 --- a/app/src/main/java/io/legado/app/model/webbook/BookContent.kt +++ b/app/src/main/java/io/legado/app/model/webbook/BookContent.kt @@ -82,7 +82,9 @@ object BookContent { } if (content.isNotEmpty()) { if (!content[0].toString().startsWith(bookChapter.title)) { - content.insert(0, bookChapter.title) + content + .insert(0, "\n") + .insert(0, bookChapter.title) } } return content.toString()