[feat] parser in background

This commit is contained in:
kwaroran
2023-07-17 16:40:19 +09:00
parent 297568e704
commit 7165795507
2 changed files with 9 additions and 5 deletions

View File

@@ -42,9 +42,11 @@
{#if backgroundHTML}
<div class="absolute top-0 left-0 w-full h-full">
{#await ParseMarkdown(risuChatParser(backgroundHTML, {chara:currentChar}), currentChar, 'back') then md}
{@html md}
{/await}
</div>
{#key currentChar.reloadKeys}
<div class="absolute top-0 left-0 w-full h-full">
{#await ParseMarkdown(risuChatParser(backgroundHTML, {chara:currentChar}), currentChar, 'back') then md}
{@html md}
{/await}
</div>
{/key}
{/if}