There was an error while loading. Please reload this page.
1 parent d57a878 commit c1365f2Copy full SHA for c1365f2
client/web/src/components/Markdown/render.tsx
@@ -46,6 +46,11 @@ export const Markdown: React.FC<{
46
),
47
iframe: (props) => {
48
let src = props.src;
49
+
50
+ if (src?.includes('javascript')) {
51
+ return <div>not support run javascript</div>;
52
+ }
53
54
if (src && src.includes('?')) {
55
src += '&autoplay=0'; // make sure media autoplay is false
56
}
0 commit comments