You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my Windows machine—I imagine the same wouldn't happen on Linux-likes, although I haven't tested to confirm—the EpubNav's file paths contain backslashes in place of any forward slashes that might have been present in the file paths.
So, for example, if I run the following bit of code:
...the output EPUB file's nav.xhtml's link to the chapter will be this:
<li><ahref="text\content.xhtml">Sample</a></li>
...which you'll note features a backslash, unlike the originally-specified file path and unlike the (correct) rendition within the same file's toc.ncx:
This is a problem, because the EPUB specification explicitly forbids backslashes in file paths and any readers exposed to files with navs generated in this fashion will as such potentially throw errors over the invalid paths.
The text was updated successfully, but these errors were encountered:
I have deployed the changes to the master branch. Tested it with a sample file on windows and seems to be working. Will check some other PR and see when to do proper release.
For now just download source and install locally from master until the release is here.
On my Windows machine—I imagine the same wouldn't happen on Linux-likes, although I haven't tested to confirm—the EpubNav's file paths contain backslashes in place of any forward slashes that might have been present in the file paths.
So, for example, if I run the following bit of code:
...the output EPUB file's
nav.xhtml
's link to the chapter will be this:...which you'll note features a backslash, unlike the originally-specified file path and unlike the (correct) rendition within the same file's
toc.ncx
:This is a problem, because the EPUB specification explicitly forbids backslashes in file paths and any readers exposed to files with navs generated in this fashion will as such potentially throw errors over the invalid paths.
The text was updated successfully, but these errors were encountered: