auto-novel icon indicating copy to clipboard operation
auto-novel copied to clipboard

[BUG]小说工具箱的<EPUB转TXT>遇到转换后缺失部分内容的情况

Open LplChen opened this issue 6 months ago • 1 comments

转换后的TXT只有目录页的内容。【出问题的文件】

LplChen avatar Jun 09 '25 16:06 LplChen

在这里也记录一下吧

这个文件把nav放到了/OEBPS/Text/navigation-documents.xhtml这个位置, 和content.opf(位于/OEBPS/content.opf)不在一个目录下, 而 https://github.com/auto-novel/auto-novel/blob/fc63bc14f5790c138e6430bb02ef7ff0529d4b83/web/src/util/file/standard.ts#L127-L134 比对的href和id分别是nav中的href与content.opf中的href, 这两个永远不会相等, 所以不会记录正文的所有内容只剩下了一个标题

92a368a 里面引入, 更早的版本中可以正常转换

hirrao avatar Jun 10 '25 21:06 hirrao