From 40a0c4007634d25740630c49627eea4f5a5d8242 Mon Sep 17 00:00:00 2001 From: david Date: Mon, 3 Nov 2025 20:53:07 -0800 Subject: [PATCH] Issue #2 fix --- js/load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/load.js b/js/load.js index 1feabd4..b652a0a 100644 --- a/js/load.js +++ b/js/load.js @@ -22,7 +22,7 @@ const renderItems = (items) => { } else if (typeof item === 'object') { return `

${Object.entries(item).map(([key, value]) => // `${value}`).join('
')}

`; - `${cap(key)}: ${value}`).join('
')}

`; + `${cap(key)}: ${Array.isArray(value) ? value.join(', ') : value}`).join('
')}

`; } else { return `

${String(item)}

`; }