-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Untagged text is absent from rendered output #3027
Comments
Good find, the |
I think it's because of the order of the text and script tag. If you place all markup before or after the script all work as expected (repl). Not sure that this is a bug. |
@Panya I'd still call it a bug. Before reporting the bug I had also noticed that removing any of the other tags resolved the problem; but that's irrelevant since in the reported case it is not working as expected. |
prevent top-level text being discarded
Fixed in 3.6.0. Thanks! |
Confirmed the fix on repl (https://svelte.dev/repl/ac3e6448a4a04ed9a12e0ceed1d9dfae?version=3.6.0) Thanks! |
The first line of the HTML (
Hello there
) is not contained in any tags, so it does not show up in the rendered output. The bug is reproducible on repl.https://svelte.dev/repl/ac3e6448a4a04ed9a12e0ceed1d9dfae?version=3.5.1
The text was updated successfully, but these errors were encountered: