From 1162af49079c337553c6d0fd13e9bed8cd1fd3b9 Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Thu, 15 Aug 2024 09:54:20 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=8C=20fix=20#2994?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/TreeView.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/components/TreeView.js b/frontend/components/TreeView.js index 615f03da83..b3a07b3f79 100644 --- a/frontend/components/TreeView.js +++ b/frontend/components/TreeView.js @@ -194,11 +194,12 @@ const EmptyRows = ({ colspan = 999 }) => html` ` -export const TableView = ({ mime, body, cell_id, persist_js_state }) => { +export const TableView = ({ mime, body, cell_id, persist_js_state, sanitize_html }) => { let pluto_actions = useContext(PlutoActionsContext) const node_ref = useRef(null) - const mimepair_output = (pair) => html`<${SimpleOutputBody} cell_id=${cell_id} mime=${pair[1]} body=${pair[0]} persist_js_state=${persist_js_state} />` + 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} />` const more = (dim) => html`<${More} on_click_more=${() => { actions_show_more({