remove warning for stripped output

This commit is contained in:
MinRK 2014-02-27 17:09:10 -08:00
parent b5c8a51331
commit aaefc5f296

View File

@ -496,12 +496,7 @@ var IPython = (function (IPython) {
if (type==='text/html' || type==='text/svg') { if (type==='text/html' || type==='text/svg') {
value = IPython.security.sanitize_html(value); value = IPython.security.sanitize_html(value);
} else { } else {
// warn and don't display if we don't know how to sanitize it // don't display if we don't know how to sanitize it
var content = {
text : "Untrusted " + type + " output ignored.",
stream : "stderr"
}
this.append_stream(content);
continue; continue;
} }
} }