修复导入本地txt时显示为没有书源

pull/1068/head
ag2s20150909 3 years ago
parent 5337ca4713
commit d5fd3c3057
  1. 2
      app/src/main/java/io/legado/app/model/localBook/EpubFile.kt

@ -137,7 +137,7 @@ class EpubFile(var book: Book) {
/*选择去除正文中的H标签,部分书籍标题与阅读标题重复待优化*/
var tag = Book.hTag
if (book.getUseReplaceRule()) {
if (book.getDelTag(tag)) {
body.getElementsByTag("h1")?.remove()
body.getElementsByTag("h2")?.remove()
body.getElementsByTag("h3")?.remove()

Loading…
Cancel
Save