Dedicated SSR (Server-side-rendered) Astro native Headless CMS, build from the ground up for the Astro community and by Astro community memb github.com/withstudiocms/studiocms

Refactor MDX rendering to restrict mdx execution (#1789)

* Refactor MDX rendering to use a sandbox environment for enhanced security * Refactor MDX rendering tests for improved clarity and functionality * Remove unused mock MDX content function from test utilities * Restrict MDX input to Markdown syntax, reject executable constructs, and sanitize rendered HTML * Refactor MDX restriction logic for improved readability and maintainability * Enhance MDX restriction and rendering: add JSX to HTML conversion and integrate security tests * Refactor MDX rendering and restriction: integrate runtime execution, enhance sanitization schema, and update tests * Add component attributes to studiocmsSchema for enhanced MDX support * Fix component attribute mapping to retain original prop names in MDX schema


Author Adam Matthiesen Committer GitHub Date Commit Parent c51920dc