Don't produce error for empty annotation in CommonHTML output. (Issue #805)

This commit is contained in:
Davide P. Cervone 2015-01-16 08:58:26 -05:00
parent 0420fc6f07
commit d6939060ed

View File

@ -1126,7 +1126,7 @@
span = this.CHTMLcreateSpan(span);
if (this.data[0]) {
this.data[0].toCommonHTML(span);
this.CHTML = this.data[0].CHTML;
MathJax.Hub.Insert(this.data[0].CHTML||{},this.CHTML);
}
return span;
}