-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
content-mathml.js and namespaces #1755
Comments
arguably it's user error to have prefixes if the content is served as tex/html as the pseudo-xml parser used for in text/hml puts everything in the mathml namespace but with "local name" being the name as given rather than the part after the : . Any xmlns:xxx attribute is simply ignored. that said, it would presumably be easy enough to ignore prefixes when matching the element names in the javascript if you wanted to be kind to the user rather than rigorously follow some quirk in the standards. I'm not sure how much of my original version still survives here, let me know if you want me to do anything but I would guess any of you are rather better at javascript than me as I'm very much an "occasional user" where javascript is concerned. |
The |
==> In Testsuite MathMLToDisplay/Content/issue1755.html |
Fix problem with namespaces on internal element. Resolves #1755.
==> Merged. |
Cf. mathjax/ctop#34
It currently breaks when content has namespace prefixes.
In particular, it cannot be used together with mml3.js
The text was updated successfully, but these errors were encountered: