mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 12:12:22 -05:00
tools/2xep.lua: Fix incorrect order of section close tags
This commit is contained in:
parent
675c73c859
commit
56dd1cf33e
@ -126,7 +126,7 @@ function Doc(body, metadata, variables)
|
|||||||
end
|
end
|
||||||
add("</header>");
|
add("</header>");
|
||||||
add(body)
|
add(body)
|
||||||
for i = 1, #sectionstack do
|
for i = #sectionstack, 1, -1 do
|
||||||
add("</section"..sectionstack[i]..">");
|
add("</section"..sectionstack[i]..">");
|
||||||
end
|
end
|
||||||
add("</xep>\n");
|
add("</xep>\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user