Skip to content

Commit 1719408

Browse files
committed
refac
1 parent 33020d8 commit 1719408

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lib/components/common/Banner.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
{/if}
101101
</div>
102102
<div class="flex-1 text-xs text-gray-700 dark:text-white max-h-60 overflow-y-auto">
103-
{@html marked.parse(DOMPurify.sanitize((banner?.content ?? '').replace(/\n/g, '<br>')))}
103+
{@html DOMPurify.sanitize(marked.parse((banner?.content ?? '').replace(/\n/g, '<br>')))}
104104
</div>
105105
</div>
106106

0 commit comments

Comments
 (0)