Skip to content

Commit 79c664a

Browse files
committed
fix(webapp): use ASCII ellipsis in recovery overlay (documents ship without charset)
1 parent 6a7fabf commit 79c664a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/webapp/app/components/StaleAssetRecovery.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ const script = `(function () {
158158
});
159159
return;
160160
}
161-
var text = final ? "This page failed to load properly. Please reload." : "Loading…";
161+
// ASCII only: documents are served without an explicit charset, so
162+
// non-ASCII here can render as mojibake on a broken page.
163+
var text = final ? "This page failed to load properly. Please reload." : "Loading...";
162164
var existing = document.getElementById("stale-asset-overlay-text");
163165
if (existing) {
164166
existing.textContent = text;

0 commit comments

Comments
 (0)