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