mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
fix: 删除Epub文件正文读取的一些不必要信息
This commit is contained in:
@@ -155,6 +155,8 @@ class EpubFile(var book: Book) {
|
||||
elements.add(getBody(res, startFragmentId, endFragmentId))
|
||||
}
|
||||
}
|
||||
//title标签中的内容不需要显示在正文中,去除
|
||||
elements.select("title").remove()
|
||||
var html = elements.outerHtml()
|
||||
val tag = Book.rubyTag
|
||||
if (book.getDelTag(tag)) {
|
||||
|
||||
Reference in New Issue
Block a user