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
In SSR, it looks like we'll need to check whether a given tag name is for a void element at runtime. The is_void function in src/compiler/utils/names.ts will need to get moved to something that's exposed in svelte/internal.
Describe the bug
Unable to use
svelte:element
withthis={'input'}
as it adds a closing</input>
tag on the rendered html.Reproduction
<svelte:element this={'input'}></svelte:element>
renders as<input></input>
instead of<input>
Logs
No response
System Info
System: OS: macOS 12.3.1 CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 2.67 GB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 16.10.0 - /usr/local/bin/node npm: 8.4.1 - /usr/local/bin/npm Browsers: Chrome: 100.0.4896.88 Safari: 15.4 npmPackages: rollup: ^2.70.1 => 2.70.1
Severity
annoyance
The text was updated successfully, but these errors were encountered: