You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the meta tags is missing on the rendered DOM. I had problems with the german Umlaute (ä, ö, ...) and wondered why the utf-8 charset was missing that I explicitly added in the root.tsx. When I added the <Meta> tag for the charset in the used component, it worked. When I compared, only the charset meta tag was missing, which made me curious. But when i switched lines:
<Metacharset="utf-8"/>// <- This line is missing in the DOM<Metahttp-equiv="X-UA-Compatible"content="IE=edge"/>
to
<Metahttp-equiv="X-UA-Compatible"content="IE=edge"/>// <- This line is missing in the DOM<Metacharset="utf-8"/>
The charset was there, but the other meta tag didn't appear. I don't have an explanation for this, but I love solidjs and solid-start. Let me know if any more information is needed.
I even checked in another project of mine and found the same problem:
(I moved the viewport elem higher for better comparison, it and the other three elements below are added in the page component, but charset is missing)
The left side is from the root.tsx and the right side is from the DOM.
When I move the charset element 1 lower:
The http-equiv="X-UA-Compatible" disappears.
And when I move it 1 higher:
Still the charset disappears.
Expected behavior 🤔
Display all elements in the <Head>, especially the charset ;)
Steps to reproduce 🕹
Steps:
Add a bunch of <Link> and <Meta> elements in the <Head> of the root.tsx
Find one element missing
Switch their positioning
Find maybe a different result, but still one missing element
In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See #1139 for more details.
Duplicates
Latest version
Current behavior 😯
One of the meta tags is missing on the rendered DOM. I had problems with the german Umlaute (ä, ö, ...) and wondered why the utf-8 charset was missing that I explicitly added in the
root.tsx
. When I added the<Meta>
tag for the charset in the used component, it worked. When I compared, only the charset meta tag was missing, which made me curious. But when i switched lines:to
The charset was there, but the other meta tag didn't appear. I don't have an explanation for this, but I love solidjs and solid-start. Let me know if any more information is needed.
I even checked in another project of mine and found the same problem:
(I moved the viewport elem higher for better comparison, it and the other three elements below are added in the page component, but charset is missing)
The left side is from the root.tsx and the right side is from the DOM.
When I move the charset element 1 lower:
The http-equiv="X-UA-Compatible" disappears.
And when I move it 1 higher:
Still the charset disappears.
Expected behavior 🤔
Display all elements in the
<Head>
, especially the charset ;)Steps to reproduce 🕹
Steps:
<Link>
and<Meta>
elements in the<Head>
of theroot.tsx
Context 🔦
root.tsx
file:Your environment 🌎
Linux, pnpm as package manager, VSCode, bug occours in dev and builded.
The text was updated successfully, but these errors were encountered: