xep2md: Always serialize authors as list

Needed to roundtrip through 2xep.lua
This commit is contained in:
Kim Alvefur 2021-02-26 12:35:25 +01:00
parent d562d815b5
commit 3dc3253a38
1 changed files with 0 additions and 3 deletions

View File

@ -343,9 +343,6 @@ events.add_handler("header/", function (event)
if meta.title and meta.number then
meta.title = "XEP-"..meta.number..": "..meta.title;
end
if meta.author and #meta.author == 1 then
meta.author = meta.author[1];
end
local have_yaml, yaml = pcall(require, "lyaml");
if have_yaml and yaml.dump then
output(yaml.dump({meta}));