mirror of
https://github.com/jeffvli/feishin.git
synced 2026-07-21 18:06:30 +02:00
support parsing multivalued tags
This commit is contained in:
@@ -46,7 +46,7 @@ function flattenProperties(props: Record<string, string[] | undefined>): Record<
|
||||
const flat: Record<string, string> = {};
|
||||
for (const [key, values] of Object.entries(props)) {
|
||||
if (values && values.length > 0 && values[0] !== '') {
|
||||
flat[key] = values[0];
|
||||
flat[key] = values.join('; ');
|
||||
}
|
||||
}
|
||||
const coveredByUpperCase = new Set(
|
||||
|
||||
Reference in New Issue
Block a user