fix critical error where the first keyword/tag was duplicated over and over instead of using all of them

This commit is contained in:
Tangent / Rose / Nebula Rosa 2024-11-05 09:57:36 -07:00
parent 633dc71143
commit 6fe135e278

View File

@ -86,7 +86,7 @@ local function format_metadata(config)
local function stringify_list(list)
local output = "\"" .. utility.escape_quotes(list[1]) .. "\""
for i = 2, #list do
output = output .. ", \"" .. utility.escape_quotes(list[1]) .. "\""
output = output .. ", \"" .. utility.escape_quotes(list[i]) .. "\""
end
return output
end