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 bd08125 + 7a00695 commit 5a3a348Copy full SHA for 5a3a348
unpacked/jax/input/TeX/config.js
@@ -41,8 +41,8 @@ MathJax.InputJax.TeX = MathJax.InputJax({
41
// or "all" for all displayed equations
42
formatNumber: function (n) {return n},
43
formatTag: function (n) {return '('+n+')'},
44
- formatID: function (n) {return 'mjx-eqn-'+String(n).replace(/[:"'<>&]/g,"")},
45
- formatURL: function (id,base) {return base+'#'+escape(id)},
+ formatID: function (n) {return 'mjx-eqn-'+String(n).replace(/\s/g,"_")},
+ formatURL: function (id,base) {return base+'#'+escapeURIComponent(id)},
46
useLabelIds: true
47
}
48
},
0 commit comments