aoout / obsidian-epub-importer

Import EPUB files as Markdown.
MIT License
110 stars 2 forks source link

Empty HTML tables cause conversion to markdown to fail #94

Closed ekarious closed 3 weeks ago

ekarious commented 1 month ago

Hello,

I encountered a bug when importing an epub file.

Here is the image Obsidian_WxPx296jW0

As you can see, the temp folder is created and it first glance, everything seams correct inside. The first array avec 130 items. The toc array only 129, don't know if this is relevant.

aoout commented 1 month ago

please upload the .epub file.

ekarious commented 1 month ago

You can find the file here: https://mega.nz/file/Mq4n0LSJ#RweYoE1WZrEFwuFEoYanAPDGY3HuM801EpZPZN_l6dg

aoout commented 3 weeks ago

image I have found the part that is causing the problem. However, the processing here is done by Obsidian API's htmlToMarkdown function.

ekarious commented 3 weeks ago

Yes I also notice that the sentence is not between the <p></p> tags. Thank you for the fix.