From e7625fa93bec336e655ac2bd42e00959bb00be9d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 2 Mar 2021 17:58:52 +0100 Subject: [PATCH] Allow dependencies to be missing from metadata xep2md leaves it out if there are zero dependencies in the input, so seems sensible to mirror that in the opposite direction --- tools/2xep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/2xep.lua b/tools/2xep.lua index 64ced99e..ca985cac 100644 --- a/tools/2xep.lua +++ b/tools/2xep.lua @@ -69,7 +69,7 @@ function Doc(body, metadata, variables) if field == "legal" then add("&LEGALNOTICE;"); goto next; - elseif field == "supersedes" or field == "supersededby" then + elseif field == "supersedes" or field == "supersededby" or field == "dependencies" then add(("<%s/>"):format(field)); goto next; elseif r ~= "*" and r ~= "?" then