Merge pull request #142 from satkowski/fix-list-properties-dont-render

fix: list properties were not correctly rendered for some renderer types
This commit is contained in:
Kacper Kula 2025-04-09 14:22:49 +01:00 committed by GitHub
commit f38dfe08a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -43,6 +43,8 @@ export class ModernCellParser {
if (i < parsed.length -1) {
container.appendChild(document.createTextNode(', '))
}
} else if (typeof rendered === 'string') {
container.textContent += `${rendered}${i < parsed.length - 1 ? ', ' : ''}`
}
})
return container