##// END OF EJS Templates
fix mathjax typesetting
Paul Ivanov -
Show More
@@ -421,7 +421,7 b' var IPython = (function (IPython) {'
421 this.append_mime_type(json, toinsert);
421 this.append_mime_type(json, toinsert);
422 this._safe_append(toinsert);
422 this._safe_append(toinsert);
423 // If we just output latex, typeset it.
423 // If we just output latex, typeset it.
424 if ((json.latex !== undefined) || (json.html !== undefined)) {
424 if ((json['text/latex'] !== undefined) || (json['text/html'] !== undefined)) {
425 this.typeset();
425 this.typeset();
426 }
426 }
427 };
427 };
@@ -484,7 +484,7 b' var IPython = (function (IPython) {'
484 if (this.append_mime_type(json, toinsert)) {
484 if (this.append_mime_type(json, toinsert)) {
485 this._safe_append(toinsert);
485 this._safe_append(toinsert);
486 // If we just output latex, typeset it.
486 // If we just output latex, typeset it.
487 if ( (json.latex !== undefined) || (json.html !== undefined) ) {
487 if ((json['text/latex'] !== undefined) || (json['text/html'] !== undefined)) {
488 this.typeset();
488 this.typeset();
489 }
489 }
490 }
490 }
General Comments 0
You need to be logged in to leave comments. Login now