commit 13ebde0937e48a29190c65149abc87235b08e739 parent 3308957304f4276f02645bc02ac88395c94a74f5 Author: Davide P. Cervone <dpvc@union.edu> Date: Thu, 19 Feb 2015 08:59:23 -0500 Correct computation of TeX class for maction elements (handle embellished operators correctly). Diffstat:
| M | unpacked/jax/element/mml/jax.js | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/unpacked/jax/element/mml/jax.js b/unpacked/jax/element/mml/jax.js @@ -1274,7 +1274,10 @@ MathJax.ElementJax.mml.Augment({ // Make sure tooltip has proper spacing when typeset (see issue #412) this.data[1].setTeXclass(); } - return this.selected().setTeXclass(prev); + var selected = this.selected(); + prev = selected.setTeXclass(prev); + this.updateTeXclass(selected); + return prev; } });