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
produces a space separated list that visually looks like dog hen fox cat pig ant cow koi. However, if you insert seemingly any content after the each block, such as the following:
This sounds the same as long-standing issue #713. I tried briefly looking into it a couple times over the years (!) and each time gave up trying to understand the whitespace handling code in the compiler.
Example:
produces a space separated list that visually looks like
dog hen fox cat pig ant cow koi
. However, if you insert seemingly any content after theeach
block, such as the following:the space disappears and it looks like
doghenfoxcatpigantcowkoi owl
.The generated
c
method changes like this:c() { span = element("span"); t0 = text(ctx.value); - t1 = space(); },
REPL: https://svelte.dev/repl/ca1c0968d5d94674b15963ee23d9b64f?version=3.4.4
The text was updated successfully, but these errors were encountered: