We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f72a5c + d0ac5ad commit 55abe89Copy full SHA for 55abe89
unpacked/jax/input/MathML/jax.js
@@ -209,7 +209,7 @@
209
math = match[1].replace(/ (?!xmlns=)([a-z]+=(['"])http:.*?\2)/ig," xmlns:$1 $1") +
210
math.substr(match[0].length);
211
}
212
- if (math.match(/^<math/i) && !math.match(/^<[^<>]* xmlns=/)) {
+ if (math.match(/^<math[ >]/i) && !math.match(/^<[^<>]* xmlns=/)) {
213
// append the MathML namespace
214
math = math.replace(/^<(math)/i,'<math xmlns="http://www.w3.org/1998/Math/MathML"')
215
0 commit comments