This commit is contained in:
Timothy Jaeryang Baek 2025-10-28 14:03:05 -07:00
parent 48b538f312
commit 61a2909a88

View file

@ -131,12 +131,9 @@
{/if} {/if}
{:else if token.text.includes(`<source_id`)} {:else if token.text.includes(`<source_id`)}
<Source {id} {token} onClick={onSourceClick} /> <Source {id} {token} onClick={onSourceClick} />
{:else if token.text.trim().match(/^<br\s*\/?>$/i)}
<br />
{:else} {:else}
{@const br = token.text.match(/<br\s*\/?>/)} {token.text}
{#if br}
<br />
{:else}
{token.text}
{/if}
{/if} {/if}
{/if} {/if}