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
master
Kim Alvefur 2 years ago
parent 784177b64f
commit e7625fa93b

@ -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

Loading…
Cancel
Save