MatthiesenXYZ / astro-ghostcms

Easily migrate your Ghost Site to Astro, an Astro Integration that turns your Ghost server into a Headless CMS
https://astro-ghostcms.xyz/
MIT License
20 stars 4 forks source link

feat: ✨ Chore: Migrate from Render content Util and `<Fragment set:html />` to `astro-remote` #86

Closed create-issue-branch[bot] closed 6 months ago

create-issue-branch[bot] commented 6 months ago

closes #85

Is your chore related to a problem? Please describe. Rendering GhostCMS html should be ran through a safety system to ensure the HTML does not cause any issues. astro-remote will help to prevent any of these issues by running all HTML input through ultrahtml

Describe the solution you'd like Replace GhostCMS-RenderContent and all <Fragment set:html /> with astro-remote's <Markup> component to render html instead

Describe alternatives you've considered usage without a sanitization option (i.e astro-remote) can have adverse effects on your Astro website! if some of the content possibly pulls styling or scripts with it!

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: c2a4b6d276629dadd3b4f668633ee785f0b0c7ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ------------------------------------------- | ----- | | @matthiesenxyz/astro-ghostcms-theme-default | Patch | | @matthiesenxyz/astro-ghostcms-rendercontent | Patch | | @matthiesenxyz/starlight-ghostcms | Patch | | @matthiesenxyz/astro-ghostcms-catppuccin | Patch | | @matthiesenxyz/astro-ghostcms-brutalbyelian | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR