Skip to content

Commit 5787c82

Browse files
committed
Remove balanceBraces from tex2jax (no longer needed, and never implemented anyway). Resolves issue #1871
1 parent af09e53 commit 5787c82

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

unpacked/config/default.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -296,19 +296,6 @@ MathJax.Hub.Config({
296296
['$$','$$'],
297297
['\\[','\\]']
298298
],
299-
300-
//
301-
// This value determines whether tex2jax requires braces to be
302-
// balanced within math delimiters (which allows for nested dollar
303-
// signs). Set to false to get pre-v2.0 compatibility. When true,
304-
//
305-
// $y = x^2 \hbox{ when $x > 2$}$.
306-
//
307-
// will be properly handled as a single expression. When false, it
308-
// would be interpreted as two searpate expressions, each with
309-
// improperly balanced braces.
310-
//
311-
balanceBraces: true,
312299

313300
//
314301
// This array lists the names of the tags whose contents should not be

unpacked/extensions/tex2jax.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ MathJax.Extension.tex2jax = {
3939
['\\[','\\]'] // be sure that you don't have an extra comma at the end)
4040
],
4141

42-
balanceBraces: true, // determines whether tex2jax requires braces to be
43-
// balanced within math delimiters (allows for nested
44-
// dollar signs). Set to false to get pre-v2.0 compatibility.
45-
4642
skipTags: ["script","noscript","style","textarea","pre","code","annotation","annotation-xml"],
4743
// The names of the tags whose contents will not be
4844
// scanned for math delimiters

0 commit comments

Comments
 (0)