codesandbox / sandpack

A component toolkit for creating live-running code editing experiences, using the power of CodeSandbox.
https://sandpack.codesandbox.io
Apache License 2.0
4.93k stars 354 forks source link

Sandpack Vanilla Template ignores <head> content #1219

Open sivaramaaa opened 1 month ago

sivaramaaa commented 1 month ago

Bug report

This is almost same as https://github.com/codesandbox/sandpack/issues/373 , I am trying to render a HTML which contains inline CSS inside <head> , but Sandpack totally ignores it , But if we use "Open Sandbox" there it's rendering properly .

Here's a codesandbox demonstrating the issue: https://codesandbox.io/p/sandbox/vigilant-herschel-5ltsxm

This issue is present in latest Sandpack React version : 2.19.9

Packages affected

sivaramaaa commented 1 month ago

Hi @danilowoz , If possible can you give a quick glance at this issue and let me know if it's an issue from the Sandpack library or is it something a config issue from my end ?