www

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

commit 8fd8bf258bc52736e3690e8f0379fdf7ad1ac7eb
parent a719a551e1120c456333e7a18580e11185f29626
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sat, 27 Dec 2014 11:59:15 -0500

Handle linebreaking in a base with empty superscript or subscript.  Resolves issue #949.

Diffstat:
Munpacked/jax/output/HTML-CSS/autoload/multiline.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unpacked/jax/output/HTML-CSS/autoload/multiline.js b/unpacked/jax/output/HTML-CSS/autoload/multiline.js @@ -514,7 +514,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () { // if (end.length === 0) { var s = this.data[this.sup] || this.data[this.sub]; - if (s) { + if (s && this.HTMLnotEmpty(s)) { var box = s.HTMLspanElement().parentNode, stack = box.parentNode; if (this.data[this.base]) {stack.removeChild(stack.firstChild)} for (box = stack.firstChild; box; box = box.nextSibling)