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
Reproduced only for list items rendered within components containing additional tag before {@render children()}, such as the span tag in the reproduction example:
The logic that was there didn't take components into account. The underlying problem is that the parent isn't properly set to `Fragment` in all cases because of nested `visit` calls we do in some places.
Fixes#12447
* fix: prevent whitespaces merging across component boundaries
The logic that was there didn't take components into account. The underlying problem is that the parent isn't properly set to `Fragment` in all cases because of nested `visit` calls we do in some places.
Fixes#12447
* update test
Describe the bug
Some strange duplication of children in lists:
Reproduced only for list items rendered within components containing additional tag before
{@render children()}
, such as the span tag in the reproduction example:Reproduction
Link to reproduction - https://codesandbox.io/p/devbox/stupefied-scott-qs9hzs.
Logs
No response
System Info
System: OS: Linux 6.1 Debian GNU/Linux 12 (bookworm) 12 (bookworm) CPU: (2) x64 AMD EPYC Memory: 1.98 GB / 4.01 GB Container: Yes Shell: Unknown Binaries: Node: 20.12.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.5.0 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/share/npm-global/bin/pnpm npmPackages: svelte: 5.0.0-next.184 => 5.0.0-next.184
Severity
blocking all usage of svelte
The text was updated successfully, but these errors were encountered: