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