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) {