##// END OF EJS Templates
handle empty metadata in pyout messages more gracefully.
Stefan Karpinski -
Show More
@@ -255,6 +255,9 b' var IPython = (function (IPython) {'
255
255
256
256
257 OutputArea.prototype.convert_mime_types = function (json, data) {
257 OutputArea.prototype.convert_mime_types = function (json, data) {
258 if (data === undefined) {
259 return json;
260 }
258 if (data['text/plain'] !== undefined) {
261 if (data['text/plain'] !== undefined) {
259 json.text = data['text/plain'];
262 json.text = data['text/plain'];
260 }
263 }
General Comments 0
You need to be logged in to leave comments. Login now