Make fences use empty <mo> for blank delimiters so the result will not be an embellished operator. Also resolves issue #775.
This commit is contained in:
parent
871f395ce6
commit
cfc6fa2ae0
|
@ -2183,9 +2183,9 @@
|
|||
*/
|
||||
fenced: function (open,mml,close) {
|
||||
var mrow = MML.mrow().With({open:open, close:close, texClass:MML.TEXCLASS.INNER});
|
||||
if (open) {mrow.Append(MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.OPEN}))}
|
||||
mrow.Append(MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.OPEN}));
|
||||
if (mml.type === "mrow") {mrow.Append.apply(mrow,mml.data)} else {mrow.Append(mml)}
|
||||
if (close) {mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}))}
|
||||
mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}));
|
||||
return mrow;
|
||||
},
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user