Skip to content

Commit 9352fc6

Browse files
authored
Merge pull request #1784 from dpvc/issue1690
Fix spacing aligned/alignedat. #1690.
2 parents 9cd2917 + 0cf9b6c commit 9352fc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unpacked/extensions/TeX/AMSmath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
553553
stack.global.tagged = !numbered && !stack.global.forcetag; // prevent automatic tagging in starred environments
554554
},
555555
EndEntry: function () {
556-
if (this.row.length) {this.fixInitialMO(this.data)}
556+
if (this.row.length % 2 === 1) {this.fixInitialMO(this.data)}
557557
this.row.push(MML.mtd.apply(MML,this.data));
558558
this.data = [];
559559
},

0 commit comments

Comments
 (0)