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
Adding to your bug,
With <p>{@html string}<span>More text!</span></p>
Gives Failed to execute 'insertAdjacentHTML' on 'Element': The element has no parent.
And works normally if I add space after }.
Describe the bug
Attempting to write the following:
Will fail with (under Firefox):
However, adding whitespace after the
}
makes the error disappear, such as a newline or just a space:Logs
To Reproduce
Please paste the following code into https://svelte.dev/repl:
Expected behavior
It should work, as if I had written the space after the
}
.Information about your Svelte project:
Severity
Low, but can trip other people.
Additional context
Loving this frameless framework :)
The text was updated successfully, but these errors were encountered: