History

marketing: escape curly braces in self-host template

Astro treated {company} as a JS expression and tried to evaluate an undefined identifier, blanking the page. Wrap it as a string literal so it renders verbatim.

Claude committed 6 months ago

Commit 69b1ebe1 parent cbe8f461 file · +1 −1Browse files

Unified · Split

apps/marketing/src/pages/index.astro+1−1
@@ -331,7 +331,7 @@ import { AnimatedBeamDemo } from "../components/animated-beam-demo"; · 330 unmodified lines
331 class="w-full text-[14px] leading-[1.55] text-ink bg-surface-2 border border-rule rounded-md p-3 pr-12 font-mono resize-none"331 class="w-full text-[14px] leading-[1.55] text-ink bg-surface-2 border border-rule rounded-md p-3 pr-12 font-mono resize-none"
332 rows="3"332 rows="3"
333 readonly333 readonly
334 >Hi Rhys, I'm at {company} and interested in self hosting executor.</textarea334 >Hi Rhys, I'm at {"{company}"} and interested in self hosting executor.</textarea
335 >335 >
336 <button336 <button
337 type="button"337 type="button"