refac
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
export let onSourceClick: Function = () => {};
|
export let onSourceClick: Function = () => {};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#each tokens as token}
|
{#each tokens as token, tokenIdx (tokenIdx)}
|
||||||
{#if token.type === 'escape'}
|
{#if token.type === 'escape'}
|
||||||
{unescapeHtml(token.text)}
|
{unescapeHtml(token.text)}
|
||||||
{:else if token.type === 'html'}
|
{:else if token.type === 'html'}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
{:else}
|
{:else}
|
||||||
{#each texts as text}
|
{#each texts as text}
|
||||||
<span class="" transition:fade={{ duration: 100 }}>
|
<span class="" transition:fade={{ duration: 100 }}>
|
||||||
{text}
|
{text}{' '}
|
||||||
</span>
|
</span>
|
||||||
{/each}
|
{/each}
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user