diff --git a/frontend/components/TreeView.js b/frontend/components/TreeView.js index 48ae5ddedd..ccd1645b63 100644 --- a/frontend/components/TreeView.js +++ b/frontend/components/TreeView.js @@ -199,8 +199,9 @@ export const TableView = ({ mime, body, cell_id, persist_js_state }) => { ` } -export let DivElement = ({ cell_id, style, classname, children, persist_js_state = false }) => { - const mimepair_output = (pair) => html`<${SimpleOutputBody} cell_id=${cell_id} mime=${pair[1]} body=${pair[0]} persist_js_state=${persist_js_state} />` +export let DivElement = ({ cell_id, style, classname, children, persist_js_state = false, sanitize_html = true }) => { + const mimepair_output = (pair) => + html`<${SimpleOutputBody} cell_id=${cell_id} mime=${pair[1]} body=${pair[0]} persist_js_state=${persist_js_state} sanitize_html=${sanitize_html} />` return html`