diff --git a/assets/tailwind.config.js b/assets/tailwind.config.js index b8d6465b..880645a3 100644 --- a/assets/tailwind.config.js +++ b/assets/tailwind.config.js @@ -73,6 +73,7 @@ module.exports = { matchComponents({ "hero": ({ name, fullPath }) => { let content = fs.readFileSync(fullPath).toString().replace(/\r?\n|\r/g, "") + content = encodeURIComponent(content) let size = theme("spacing.6") if (name.endsWith("-mini")) { size = theme("spacing.5")