Compare commits
No commits in common. "ff2b86358dd7bd3be10a48b3b9371bc9349367ca" and "d9b531f08d861fb7be74df3dd22cc159c9fb76c6" have entirely different histories.
ff2b86358d
...
d9b531f08d
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "squidspirit-blog",
|
||||
"private": true,
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
@ -5,9 +5,7 @@
|
||||
|
||||
const { html }: { html: string } = $props();
|
||||
|
||||
const sanitizedHtml = $derived(
|
||||
sanitizeHtml(html, { allowedTags: sanitizeHtml.defaults.allowedTags.concat(['img']) })
|
||||
);
|
||||
const sanitizedHtml = $derived(sanitizeHtml(html));
|
||||
</script>
|
||||
|
||||
{@html sanitizedHtml}
|
||||
|
Loading…
x
Reference in New Issue
Block a user