Skip to content

Commit a147a9a

Browse files
committed
Make sure mfenced delimiters are stretchy. Resolves issue #475.
1 parent 90cd96c commit a147a9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

unpacked/jax/input/TeX/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
MathJax.InputJax.TeX = MathJax.InputJax({
2929
id: "TeX",
30-
version: "2.2",
30+
version: "2.2.1",
3131
directory: MathJax.InputJax.directory + "/TeX",
3232
extensionDir: MathJax.InputJax.extensionDir + "/TeX",
3333

unpacked/jax/input/TeX/jax.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2127,9 +2127,9 @@
21272127
mfenced: function (open,mml,close) {
21282128
var mrow = MML.mrow();
21292129
mrow.open = open; mrow.close = close;
2130-
if (open) {mrow.Append(MML.mo(open).With({fence:true, texClass:MML.TEXCLASS.OPEN}))}
2130+
if (open) {mrow.Append(MML.mo(open).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.OPEN}))}
21312131
if (mml.type === "mrow") {mrow.Append.apply(mrow,mml.data)} else {mrow.Append(mml)}
2132-
if (close) {mrow.Append(MML.mo(close).With({fence:true, texClass:MML.TEXCLASS.CLOSE}))}
2132+
if (close) {mrow.Append(MML.mo(close).With({fence:true, stretchy:true, texClass:MML.TEXCLASS.CLOSE}))}
21332133
return mrow;
21342134
},
21352135

0 commit comments

Comments
 (0)