Issue #2 fix
All checks were successful
PDX Pecularities Server / deploy (push) Successful in 2s

This commit is contained in:
david 2025-11-03 20:53:07 -08:00
parent 24c91b7211
commit 40a0c40076

View File

@ -22,7 +22,7 @@ const renderItems = (items) => {
} else if (typeof item === 'object') { } else if (typeof item === 'object') {
return `<p>${Object.entries(item).map(([key, value]) => return `<p>${Object.entries(item).map(([key, value]) =>
// `${value}`).join('<br>')}</p>`; // `${value}`).join('<br>')}</p>`;
`<strong>${cap(key)}:</strong> ${value}`).join('<br>')}</p>`; `<strong>${cap(key)}:</strong> ${Array.isArray(value) ? value.join(', ') : value}`).join('<br>')}</p>`;
} else { } else {
return `<p>${String(item)}</p>`; return `<p>${String(item)}</p>`;
} }