Compare commits

..

No commits in common. "ff2b86358dd7bd3be10a48b3b9371bc9349367ca" and "d9b531f08d861fb7be74df3dd22cc159c9fb76c6" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"name": "squidspirit-blog",
"private": true,
"version": "0.2.1",
"version": "0.2.0",
"type": "module",
"scripts": {
"dev": "vite dev",

View File

@ -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}