diff --git a/notebook/static/notebook/js/outputarea.js b/notebook/static/notebook/js/outputarea.js index 01a79c865..1c6f32f92 100644 --- a/notebook/static/notebook/js/outputarea.js +++ b/notebook/static/notebook/js/outputarea.js @@ -275,7 +275,7 @@ define([ } var data = bundle.data; $.map(OutputArea.output_types, function(key){ - if (key !== 'application/json' && + if ((key.indexOf('application/') === -1 || key.indexOf('json') === -1) && data[key] !== undefined && typeof data[key] !== 'string' ) {