* Xreader version: xreader 2.6.4
* Distribution: Linux Mint 20 Ulyana
Issue
After opening an epub, internal links are broken because the filename extensions on targets is changed from .html to .xhtml
Steps to reproduce
- visit: http://www.gutenberg.org/ebooks/63748
- download and save the "Epub with images"
- open with xreader (as "Document Viewer")
- click on LIST OF ILLUSTRATIONS
- click on any illustration link. I chose the "Mary Boyle" link
- You will get this reported error:
Error opening file /tmp/xreader-125855/pg63748-images.epubY9LQT0/OEBPS/@public@vhost@g@gutenberg@html@files@63748@63748-h@63748-h-5.htm.html: No such file or directory
- The reason for the error is that the file became 63748-h-5.htm.xhtml when it was burst into /tmp/xreader-125855
Expected behaviour
The links should work and does work with every other ebook reader I tried, such as fbreader and Calibre.
Other information
Issue
After opening an epub, internal links are broken because the filename extensions on targets is changed from .html to .xhtml
Steps to reproduce
Error opening file /tmp/xreader-125855/pg63748-images.epubY9LQT0/OEBPS/@public@vhost@g@gutenberg@html@files@63748@63748-h@63748-h-5.htm.html: No such file or directory
Expected behaviour
The links should work and does work with every other ebook reader I tried, such as fbreader and Calibre.
Other information