-
Notifications
You must be signed in to change notification settings - Fork 112
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
math/tex script not rendering #61
Comments
Hi, did you try opening the chapter from Safari Mobile to see if it's supported? We use the native |
@mickael-menu, I tried opening in ebook in iPhone and its working fine there(attached screenshot). . |
I see that the book embeds MathJax so it should work indeed. I'll take a look when I have time, probably next Friday. I did a quick investigation and I think that the issue is caused by a query parameter added to the loaded scripts, for example:
This is something that should be supported in Readium. |
How is that query parameter added , by Readium ? |
Probably by If you're in a hurry of having this fixed, please consider contributing back a pull request for this issue. |
Fixed in PRs linked above. |
Hey @mickael-menu , |
Ha, bad timing 😄 |
Bug Report
What happened?
Some text/formula in epub are not rendering in readium
On inspecting the content it was found that the element that are some scripts like
these scripts create svg element on like
In chrome/browser the svg are created but on readium these svgs are not created hence not rendered.
Expected behavior
How to reproduce?
Left side epub is rendered in TestApp, Right side epub/html is rendered in chrome
Environment
iOS13, maccatalyst
Testing device
Additional context
I also tried to open the GCDWebserver url on chrome and there also I'm getting same result. So my opinion is that those scripts are not running fine in GCDWebserver.
Attachments:
Left side TestApp __________ Right side Chrome
The text was updated successfully, but these errors were encountered: