--- export type Props = { schema: Record } const { schema } = Astro.props // Escape the characters that can end the script tag or break the JavaScript parser. // A value such as "" in the schema then stays inside the JSON. const json = JSON.stringify(schema) .replace(//g, "\\u003e") .replace(/&/g, "\\u0026") .replace(/\u2028/g, "\\u2028") .replace(/\u2029/g, "\\u2029") ---