-
-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Entity 'nbsp' not defined #578
Comments
Also affects ePubs. Considering Foliate also reports a ton of errors about tag mismatch (i.e. After checking the runtime dependencies and searching a bit it seems that, unless Foliate modifies/encodes/converts/etc the HTML String, there's a pretty good chance that webkit2gtk is the one causing the problem. One bug that caught my attention over there is Content-Type being either unset, incomplete (i.e. Lacking Charset) or wrong, it came up a lot on my search. Apparently it breaks on unclosed Tags (So HTML5 doesn't work) and either special characters ( If there's any code dealing with some of those, especially the I may be able to look a bit more into it, so I'd appreciate any tips on which files have code that may relate to the problem and the easiest way to setup a dev environment to debug. |
Can you open the file with upstream Epub.js? See the wiki for instructions. To test .azw3 files with Epub.js, convert them to EPUB first with KindleUnpack (which is what Foliate uses internally). |
Closing in favor of #699, as it's really the same issue. |
Describe the bug
When I open any
azw3
file type, foliate throws this particular message and doesn't open any other page than crippled first page of the document.To Reproduce
Steps to reproduce the behavior:
azw3
fileExpected behavior
There should be no error message. I guess it's due to UTF-8 formatting issues?
Screenshots
![](https://camo.githubusercontent.com/a080585a374e11b18c7f5c15ba0e12ef62f9aac25f4090e1ad602281bbd08b26/68747470733a2f2f692e696d6775722e636f6d2f4b467836314c6c2e706e67)
Version:
Additional context
I wasn't able to open any
azw3
file that didn't have such issue, so I assume it may affect allazw3
file types.The text was updated successfully, but these errors were encountered: