fix nosniff html component

This commit is contained in:
Ruben Fiszel
2023-02-02 22:10:06 +01:00
parent 3305481d5d
commit a82a2efa6a
2 changed files with 3 additions and 1 deletions
@@ -28,7 +28,9 @@
style="height: {h}px; width: {w}px"
class="p-0"
title="sandbox"
srcdoc={result ? '<scr' + `ipt src="/tailwind.css"></script>` + result : 'No html'}
srcdoc={result
? '<scr' + `ipt type="application/javascript" src="/tailwind.js"></script>` + result
: 'No html'}
/>
{/key}
</RunnableWrapper>