Skip to content

Commit 1ffe1b6

Browse files
committed
put css back for raw stable html rendered in jupyter (e.g., for pandas)
1 parent f004bf7 commit 1ffe1b6

File tree

1 file changed

+4
-1
lines changed
  • src/packages/frontend/jupyter/output-messages/mime-types

1 file changed

+4
-1
lines changed

src/packages/frontend/jupyter/output-messages/mime-types/html.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ const Html = ({
1818
}
1919
return (
2020
<div style={{ margin: "5px 0" }}>
21-
<StableUnsafeHtml html={value} docId={`${id}-${index}`} />
21+
<StableUnsafeHtml
22+
html={`<div class="cocalc-jupyter-rendered">${value}</div>`}
23+
docId={`${id}-${index}`}
24+
/>
2225
</div>
2326
);
2427
};

0 commit comments

Comments
 (0)