mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
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
This commit is contained in:
parent
784177b64f
commit
e7625fa93b
@ -69,7 +69,7 @@ function Doc(body, metadata, variables)
|
|||||||
if field == "legal" then
|
if field == "legal" then
|
||||||
add("&LEGALNOTICE;");
|
add("&LEGALNOTICE;");
|
||||||
goto next;
|
goto next;
|
||||||
elseif field == "supersedes" or field == "supersededby" then
|
elseif field == "supersedes" or field == "supersededby" or field == "dependencies" then
|
||||||
add(("<%s/>"):format(field));
|
add(("<%s/>"):format(field));
|
||||||
goto next;
|
goto next;
|
||||||
elseif r ~= "*" and r ~= "?" then
|
elseif r ~= "*" and r ~= "?" then
|
||||||
|
Loading…
Reference in New Issue
Block a user