Skip to content

Commit

Permalink
Fix greedy HTML sanitization in isolated_cell_id
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Jan 18, 2024
1 parent e981e4d commit 279b3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/components/Cell.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 279b3d9

Please sign in to comment.