##// END OF EJS Templates
fix png inlining
Paul Ivanov -
Show More
@@ -616,7 +616,7 b' var IPython = (function (IPython) {'
616 OutputArea.prototype.append_png = function (png, md, element, type) {
616 OutputArea.prototype.append_png = function (png, md, element, type) {
617 var toinsert = this.create_output_subarea(md, "output_png", type);
617 var toinsert = this.create_output_subarea(md, "output_png", type);
618 var img = $("<img/>");
618 var img = $("<img/>");
619 img[0].attr('src','data:image/png;base64,'+png);
619 img[0].setAttribute('src','data:image/png;base64,'+png);
620 if (md['height']) {
620 if (md['height']) {
621 img[0].setAttribute('height', md['height']);
621 img[0].setAttribute('height', md['height']);
622 }
622 }
General Comments 0
You need to be logged in to leave comments. Login now