export function TaskCategoryGroup(title, items) { const safeItems = items.length ? items.map((item) => `
  • `).join("") : `
  • No tasks in this category yet.
  • `; return `

    ${escapeHtml(title)}

    `; } function escapeHtml(value) { return String(value) .replaceAll("&", "&") .replaceAll("<", "<") .replaceAll(">", ">") .replaceAll('"', """) .replaceAll("'", "'"); }