fix emoji encoding issue
Build and Push Containers / test (push) Successful in 12s
Build and Push Containers / build-and-push (push) Successful in 19s

This commit is contained in:
2026-08-01 12:32:14 -04:00
parent 806b21d856
commit 7c761df010
+2 -1
View File
@@ -142,7 +142,8 @@ es.onmessage = (e) => {
titleEl.textContent = 'Error generating page'; titleEl.textContent = 'Error generating page';
document.querySelector('.subtitle').textContent = 'Please refresh and try again'; document.querySelector('.subtitle').textContent = 'Please refresh and try again';
} else { } else {
const decoded = atob(e.data); const bytes = Uint8Array.from(atob(e.data), c => c.charCodeAt(0));
const decoded = new TextDecoder().decode(bytes);
htmlChunks.push(decoded); htmlChunks.push(decoded);
htmlSize += decoded.length; htmlSize += decoded.length;
chars = htmlSize; chars = htmlSize;