Skip to content

Commit

Permalink
fix cms
Browse files Browse the repository at this point in the history
  • Loading branch information
russellsamora committed Sep 4, 2024
1 parent 9bdb0b2 commit fb32851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/helpers/CMS.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{:else if type === "text"}
<p>{@html value}</p>
{:else}
<svelte:element this={type} {...value.attributes}
<svelte:element this={type} {...value}
>{#if typeof value === "string"}{@html value}{/if}</svelte:element
>
{/if}
Expand Down

0 comments on commit fb32851

Please sign in to comment.