We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33020d8 commit 1719408Copy full SHA for 1719408
1 file changed
src/lib/components/common/Banner.svelte
@@ -100,7 +100,7 @@
100
{/if}
101
</div>
102
<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>')))}
+ {@html DOMPurify.sanitize(marked.parse((banner?.content ?? '').replace(/\n/g, '<br>')))}
104
105
106
0 commit comments