New svelte:element
tag does not handle void tags correctly
#7449
Labels
svelte:element
tag does not handle void tags correctly
#7449
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: