Дезайн ыыыы

This commit is contained in:
loki5512344 2026-07-11 00:01:26 +03:00
parent 403d7086d4
commit e7c02c7feb
174 changed files with 15802 additions and 9725 deletions

6
frontend/js/dom.js Normal file
View file

@ -0,0 +1,6 @@
/** Escapes text for safe interpolation into innerHTML template strings. */
export function escapeHtml(str) {
const div = document.createElement("div");
div.textContent = str ?? "";
return div.innerHTML;
}