diff --git a/templates/index.html b/templates/index.html index cb9afdd..bc2b34d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1651,6 +1651,13 @@ minute: '2-digit' }); }; + // Декодируем Unicode строки + const decodeUnicode = (str) => { + if (!str) return str; + return str.replace(/\\u[\dA-F]{4}/gi, (match) => { + return String.fromCharCode(parseInt(match.replace(/\\u/g, ''), 16)); + }); + }; // Загружаем связанные события const linkedEvents = await fetch(`${PREFIX}/api/posts/${postId}/linked_events`) .then(response => response.json()) @@ -1719,22 +1726,22 @@ Информация об опросе
${post.tg_poll_results}
+ ${post.tg_poll_results}
| Имя пользователя | @@ -1783,11 +1790,11 @@
|---|