[BUG] The MathML didn't get correctly rendered in the Follow
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 39k
- Forks
- 2.1k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 10
Description
Platform
Desktop - Web
Describe the bug
MathML is the web standard for displaying the math formula in the web page. It has been supported by almost all the modern brower. But Follow try to convert the mathml tag into the Katax which leds to the incorrectly displaying and ugly typeset. You can see the screenshot below.
I think we should keep the mathml related tags as it is. And this will make the mathml formulas be rendered directly by the browser. For example. The same article render result in Miniflux is shown below.
Entry ID
No response
Relevant Information
Reproduction Video
No response
Environment
No response
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- This issue is valid
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rendering problem with the linked feed at https://yufan.me/feed and compare the MathML output with the expected browser-rendered result described in the issue. Trace the Follow rendering path that converts MathML to KaTeX; done means MathML-related tags are preserved so the browser renders the formulas directly.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100