From 5a55805a67a51427e3717a90e515b5a2b52173ec Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 27 Dec 2022 17:27:08 +0100 Subject: [PATCH] tools/2xep: Fix encoding of simple list metadata An extra wrapper element was added ``` 2017-11-15 ``` Correct is one element with text for each item ``` 2017-11-15 ``` --- tools/2xep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/2xep.lua b/tools/2xep.lua index 3ca9ed37..34c46902 100644 --- a/tools/2xep.lua +++ b/tools/2xep.lua @@ -115,7 +115,7 @@ function Doc(body, metadata, variables) end add(""); else - add(("<%s>%s"):format(field, tostring(sv), field)); + add(tostring(sv)); end add(string.format("", field)); end