umlaut fix

This commit is contained in:
2026-01-27 16:05:25 +01:00
parent a52c50198e
commit fbc1c220cc
3 changed files with 14 additions and 17 deletions

View File

@@ -105,7 +105,7 @@ class CommentSystem {
try {
// Decode Base64 for safe template transfer
const raw = dataEl.textContent.trim();
const json = atob(raw);
const json = new TextDecoder().decode(Uint8Array.from(atob(raw), c => c.charCodeAt(0)));
const comments = JSON.parse(json);
const subEl = document.getElementById('initial-subscription');