-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed as not planned
Description
Describe the bug
Text and children inside of any tag "<text>" is rendered invisible by SvelteKit.
Reproduction
Take a look at the following example for an explanation:
https://svelte.dev/repl/22bc62add48d4c3299a4ea2eef14a8dc?version=4.2.19
In brief, any content that is placed in a "" tag will be rendered invisible inside of the browser.
<!-- This example is also reproducible even when nested inside of other elements --->
<text>
<h1>You can't see this</h1>
</text>This has nothing to do with CSS.
Logs
No logs were output.
System Info
I don't know the specific configuration of the SvelteKit REPL, but I have tried it in multiple browsers (FireFox, Microsoft Edge, Google Chrome) and all seem to output the same
Severity
serious, but I can work around it
Additional Information
We're currently using "<text>" inside our components, and after upgrading our SvelteKit version, because of this, most of our components are being rendered invisible now.
Metadata
Metadata
Assignees
Labels
No labels