This commit is contained in:
Timothy Jaeryang Baek
2026-01-28 00:49:12 +04:00
parent 33020d826f
commit 171940869b
+1 -1
View File
@@ -100,7 +100,7 @@
{/if} {/if}
</div> </div>
<div class="flex-1 text-xs text-gray-700 dark:text-white max-h-60 overflow-y-auto"> <div class="flex-1 text-xs text-gray-700 dark:text-white max-h-60 overflow-y-auto">
{@html marked.parse(DOMPurify.sanitize((banner?.content ?? '').replace(/\n/g, '<br>')))} {@html DOMPurify.sanitize(marked.parse((banner?.content ?? '').replace(/\n/g, '<br>')))}
</div> </div>
</div> </div>