diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 3f9036e8c..19c35f448 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -1647,7 +1647,9 @@ import {ShortcutEditor} from 'notebook/js/shortcuteditor'; Notebook.prototype.render_cell_output = function (code_cell) { var cell_data = code_cell.toJSON(); var cell_index = this.find_cell_index(code_cell); + var trusted = code_cell.output_area.trusted; this.clear_output(cell_index); + code_cell.output_area.trusted = trusted; code_cell.fromJSON(cell_data); };