From 279b3d966af345e10a69a1961e1a1aefad2aca7b Mon Sep 17 00:00:00 2001 From: Fons van der Plas Date: Thu, 18 Jan 2024 16:57:59 +0100 Subject: [PATCH] Fix greedy HTML sanitization in isolated_cell_id --- frontend/components/Cell.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/components/Cell.js b/frontend/components/Cell.js index 81afa26d80..5bbc88a57b 100644 --- a/frontend/components/Cell.js +++ b/frontend/components/Cell.js @@ -429,7 +429,7 @@ export const Cell = ({ * [key: string]: any, * }} props * */ -export const IsolatedCell = ({ cell_input: { cell_id, metadata }, cell_result: { logs, output, published_object_keys }, hidden }, sanitize_html = true) => { +export const IsolatedCell = ({ cell_input: { cell_id, metadata }, cell_result: { logs, output, published_object_keys }, hidden, sanitize_html = true }) => { const node_ref = useRef(null) let pluto_actions = useContext(PlutoActionsContext) const cell_api_ready = useCellApi(node_ref, published_object_keys, pluto_actions)