www

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

commit de9c66f927b16dac381cd432da88be23b5a24fe4
parent 91875b35587ec164a4330c248395c1fce95d8c9d
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sun, 28 Dec 2014 06:30:18 -0500

Escape braces in mathPalette (avoids error with \brace).

Diffstat:
Munpacked/jax/input/TeX/jax.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js @@ -2200,6 +2200,7 @@ return mrow; }, mathPalette: function (fence,side) { + if (fence === '{' || fence === '}') {fence = "\\"+fence} var D = '{\\bigg'+side+' '+fence+'}', T = '{\\big'+side+' '+fence+'}'; return TEX.Parse('\\mathchoice'+D+T+T+T).mml(); },