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.
1 parent 4779c91 commit 5d4a843Copy full SHA for 5d4a843
unpacked/extensions/MathML/content-mathml.js
@@ -190,6 +190,7 @@ MathJax.Extension["MathML/content-mathml"] = (function(HUB) {
190
*/
191
appendToken: function(parentNode,name,textContent) {
192
var element = CToP.createElement(name);
193
+ textContent = textContent.replace(/^\s+/,"").replace(/\s+$/,"");
194
if (name === 'mn' && textContent.substr(0,1) === "-") {
195
//
196
// use <mrow><mo>−</mo><mn>n</mn></mrow> instead of <mn>-n</mn>
0 commit comments