From e9dba94dd5bdf1887aa3489f42db9e4bf0b8af30 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sat, 9 May 2026 17:58:52 +1200 Subject: [PATCH 1/2] Escape $ in HTML replace function --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 18b1d68bc..608c3dc17 100644 --- a/server/app.js +++ b/server/app.js @@ -593,7 +593,7 @@ export default async function createApp(vite) { html = html.replace( '', - `\n\n${ogMetaTags}` + `\n\n${ogMetaTags}` ); return html; From 82bab129413cc30b0447cfa5d50de172b9e12cf9 Mon Sep 17 00:00:00 2001 From: "G.Ambatte" Date: Sat, 9 May 2026 18:08:44 +1200 Subject: [PATCH 2/2] Use function instead of pattern escaping --- server/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 608c3dc17..b1e0e1c25 100644 --- a/server/app.js +++ b/server/app.js @@ -593,7 +593,7 @@ export default async function createApp(vite) { html = html.replace( '', - `\n\n${ogMetaTags}` + ()=>{ return `\n\n${ogMetaTags}`; } ); return html;