Skip to content

Commit

Permalink
🐌 fix #2994
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsp committed Aug 15, 2024
1 parent 294636e commit 1162af4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/components/TreeView.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,12 @@ const EmptyRows = ({ colspan = 999 }) => html`<tr class="empty">
</td>
</tr>`

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({
Expand Down

0 comments on commit 1162af4

Please sign in to comment.