From 692c75ee5c41c0544bc5e36bb43e0b1bbc69491d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 22 Mar 2026 15:39:45 -0700 Subject: [PATCH] fix(shell): escape apostrophe in access gate to prevent script parse failure The single quote in "don't" broke the JS string literal inside the inline script, causing a SyntaxError that killed the entire script block including tab bar and header initialization. Co-Authored-By: Claude Opus 4.6 --- server/shell.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/shell.ts b/server/shell.ts index 8d8bcd4..b131b84 100644 --- a/server/shell.ts +++ b/server/shell.ts @@ -680,7 +680,7 @@ export function renderShell(opts: ShellOptions): string { '
' + '
🔒
' + '

Private Space

' + - '

You don\'t have access to ' + slug + '.

' + + '

You don\\\'t have access to ' + slug + '.

' + '

This space is private. Ask the owner to invite you as a member.

' + '' + homeLabel + '' + '
';