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

MathJax doesn't complete initialization in IE9 when in IE9 Standards mode #4

Closed
shogun70 opened this issue Oct 15, 2010 · 4 comments
Closed
Labels

Comments

@shogun70
Copy link
Contributor

  1. Using IE9 Platform Preview 5, visit http://mathjax.org/demos/tex-samples/
  2. The TeX equations remain unprocessed
  3. Use IE Developer tools to switch the page to IE9 mode - the equations are still unprocessed.

IE notifies of an error at around line 1815 in MathJax.js
Specifically, there is a comparison (RegExp.$2 !== "") which seems always valid on other browsers, but not in IE9.

@shogun70
Copy link
Contributor Author

I have a fix ready for review.
Try it out at http://s3.amazonaws.com/dist-meekostuff-net/MathJax/default/test/sample.html

@shogun70
Copy link
Contributor Author

This fix merely changes the check to
(RegExp.$2)
which should always be valid.
However, I don't think we should be writing our own URL parser if there is already good code available. I recommend we use Steven Levithan's parseUri:
http://blog.stevenlevithan.com/archives/parseuri
It's small and has a MIT license. There's a test-page as well.

@dpvc
Copy link
Member

dpvc commented Oct 22, 2010

The change looks good. You can go ahead and commit the change.

@dpvc
Copy link
Member

dpvc commented Nov 2, 2010

I have committed the change, so am closing this issue.

@maxtin maxtin mentioned this issue Feb 17, 2013
physikerwelt pushed a commit to physikerwelt/MathJax that referenced this issue Nov 5, 2015
SuzanneSoy pushed a commit to SuzanneSoy/scribble-mathjax that referenced this issue Aug 7, 2016
fix: mathmlInput removing TeX folders instead of MathML
This issue was closed.
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