From b2b8d4591108dd3cc5cf045b4f290467e79955c5 Mon Sep 17 00:00:00 2001 From: gedoor Date: Sat, 11 Jul 2020 12:40:14 +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/debug/res/values-zh-rHK/strings.xml | 5 +++++ app/src/debug/res/values-zh-rTW/strings.xml | 5 +++++ app/src/debug/res/values/strings.xml | 4 ++-- app/src/main/java/io/legado/app/model/localBook/EPUBFile.kt | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) create mode 100644 app/src/debug/res/values-zh-rHK/strings.xml create mode 100644 app/src/debug/res/values-zh-rTW/strings.xml diff --git a/app/src/debug/res/values-zh-rHK/strings.xml b/app/src/debug/res/values-zh-rHK/strings.xml new file mode 100644 index 000000000..07b0a5dbe --- /dev/null +++ b/app/src/debug/res/values-zh-rHK/strings.xml @@ -0,0 +1,5 @@ + + + 閲讀.D + 閲讀·D·搜索 + \ No newline at end of file diff --git a/app/src/debug/res/values-zh-rTW/strings.xml b/app/src/debug/res/values-zh-rTW/strings.xml new file mode 100644 index 000000000..07b0a5dbe --- /dev/null +++ b/app/src/debug/res/values-zh-rTW/strings.xml @@ -0,0 +1,5 @@ + + + 閲讀.D + 閲讀·D·搜索 + \ No newline at end of file diff --git a/app/src/debug/res/values/strings.xml b/app/src/debug/res/values/strings.xml index 7e78b622b..ffc41e3cd 100644 --- a/app/src/debug/res/values/strings.xml +++ b/app/src/debug/res/values/strings.xml @@ -1,4 +1,4 @@ - legado·D - legado·D·search + legado·D + legado·D·search \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/model/localBook/EPUBFile.kt b/app/src/main/java/io/legado/app/model/localBook/EPUBFile.kt index d45973b92..c9685729a 100644 --- a/app/src/main/java/io/legado/app/model/localBook/EPUBFile.kt +++ b/app/src/main/java/io/legado/app/model/localBook/EPUBFile.kt @@ -83,7 +83,7 @@ class EPUBFile(val book: io.legado.app.data.entities.Book) { val resource = eBook.resources.getByHref(chapter.url) val content = StringBuilder() val doc = Jsoup.parse(String(resource.data, mCharset)) - val elements = doc.allElements + val elements = doc.body().allElements for (element in elements) { val contentEs = element.textNodes() for (i in contentEs.indices) {