[BUG] The MathML didn't get correctly rendered in the Follow

Open
#4,497 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Domain
frontend

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.

Description

bug platform: desktop
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.

Image

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.

Image
Entry ID

No response

Relevant Information

https://yufan.me/feed

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!)
Dominant language
TypeScript
Stars
39.3k
Forks
2.2k
Avg merge
9h 14m
Merged PRs (30d)
16

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RSSNext/Folo

All issues in RSSNext/Folo

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.