From 1a8aa72c5b0ae507d05cdedde0e4da8af4aa14b1 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 23 Jan 2025 15:13:26 +0000 Subject: [PATCH] Update config to latest version in the phx templates See https://github.com/phoenixframework/phoenix/commit/7ec73196b40b19738518a8b865ea1129bc997121 --- assets/tailwind.config.js | 1 + 1 file changed, 1 insertion(+) 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")