mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
remove warning for stripped output
This commit is contained in:
parent
b5c8a51331
commit
aaefc5f296
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user