NO-ISSUE Merged from release/0.2 #75
@ -5,7 +5,9 @@
|
||||
|
||||
const { html }: { html: string } = $props();
|
||||
|
||||
const sanitizedHtml = $derived(sanitizeHtml(html));
|
||||
const sanitizedHtml = $derived(
|
||||
sanitizeHtml(html, { allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img']) })
|
||||
);
|
||||
</script>
|
||||
|
||||
{@html sanitizedHtml}
|
||||
|
Loading…
x
Reference in New Issue
Block a user