www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit cfc6fa2ae09efa802eb9b5195631f1ccc9ced7fe
parent 871f395ce65a6758255c428a096798d53f8bded6
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue,  9 Sep 2014 11:51:22 -0400

Make fences use empty <mo> for blank delimiters so the result will not be an embellished operator.  Also resolves issue #775.

Diffstat:
Munpacked/jax/input/TeX/jax.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -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; }, /*