From 6fe135e278a3b7a9245cb4ab428a8753b4219f49 Mon Sep 17 00:00:00 2001 From: Tangent Date: Tue, 5 Nov 2024 09:57:36 -0700 Subject: [PATCH] fix critical error where the first keyword/tag was duplicated over and over instead of using all of them --- make-epub.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-epub.lua b/make-epub.lua index e008841..b8de220 100644 --- a/make-epub.lua +++ b/make-epub.lua @@ -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