{#each spans as span, i (i)} {#if span.style}
{span.content}
{:else} {span.content} {/if} {/each}