mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
tools/2xep: Fix encoding of simple list metadata
An extra wrapper element was added ``` <lastcall> <lastcall>2017-11-15</lastcall> </lastcall> ``` Correct is one element with text for each item ``` <lastcall>2017-11-15</lastcall> ```
This commit is contained in:
parent
29809ef1b5
commit
5a55805a67
@ -115,7 +115,7 @@ function Doc(body, metadata, variables)
|
||||
end
|
||||
add("</remark>");
|
||||
else
|
||||
add(("<%s>%s</%s>"):format(field, tostring(sv), field));
|
||||
add(tostring(sv));
|
||||
end
|
||||
add(string.format("</%s>", field));
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user