Skip to content
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

Consider removing polyfill because MathJax should no longer need it #9918

Closed
yutannihilation opened this issue Jun 27, 2024 · 2 comments
Closed
Labels

Comments

@yutannihilation
Copy link

Explain the problem.

polyfill was introduced into Pandoc's template in #8625 because MathJax's document indicated it needs polyfill at the moment. But, now the document doesn't refer to polyfill at all. So, I think Pandoc can just remove the link. As you know, polyfill is to support antique web browsers, so the vast majority users should not be affected.

https://www.mathjax.org/#gettingstarted

After investigating a bit, I found that the reason MathJax started to suggest polyfill was to support IE11, which is end of life on June 14, 2022. This is the original issue:

mathjax/MathJax-src#62

I'm not sure what browser the reporter of #8625 actually used, but, if it was IE11, I don't think it's a sane idea to keep supporting IE11 in 2023. Needless to say in 2024.

Pandoc version?

Pandoc 3.1.1 (bundled in RStudio IDE)

@yutannihilation
Copy link
Author

Thanks for fixing!

@jgm
Copy link
Owner

jgm commented Jun 27, 2024

Thanks for the suggestion. I'd actually forgotten that we even had this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants