Skip to content

MathJAX math symbols don't render in reader mode #522

@tyler-romero

Description

@tyler-romero

What device and app version are you using

  • Device: Boox Note Air 4c
  • OS: Android 13
  • EinkBro Version: 15.1.0

Describe the bug

Websites with mathematical symbols rendered with MathJAX render incorrectly in reader mode - specifically the MathJAX characters are dropped completely.

To Reproduce
Steps to reproduce the behavior.

Example description:

  1. Go to: https://sustcsonglin.github.io/blog/2024/deltanet-1/
  2. Click on reader mode
  3. Scroll down to the "What is linear attention?" headding
  4. See that no mathematical symbols are rendered.

** What's the behavior on following similar browsers **

  • Via Browser
  • xBrowser

I haven't had the time to test these out yet

Expected behavior
The mathematical symbols from MathJAX render in some form or another when in reader mode.

Additional context

Websites that use KaTeX for math symbols work correctly.
Changing the MathJAX math renderer from CHTML to SVG does not fix the problem

Export to Epub from Reader Mode is a great feature! Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions