www

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

commit 598c1e7c075058449d8ff8cdae59da6bc20bc61e
parent 4e9a33e256f2eb78e67cd2b637800483d8b33935
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Tue, 20 Jan 2015 14:21:34 -0500

When closing table cells, get new table pointer.  Resolves issue #1013.

Diffstat:
Munpacked/extensions/TeX/AMScd.js | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/unpacked/extensions/TeX/AMScd.js b/unpacked/extensions/TeX/AMScd.js @@ -70,7 +70,10 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () { if (!c.match(/[><VA.|=]/)) {return this.Other(name)} else {this.i++} var top = this.stack.Top(); - if (!top.isa(STACKITEM.array) || top.data.length) {this.CD_cell(name)} + if (!top.isa(STACKITEM.array) || top.data.length) { + this.CD_cell(name); + top = this.stack.Top(); + } // // Add enough cells to place the arrow correctly //