mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-13 04:45:10 -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
|
||||
add("</header>");
|
||||
add(body)
|
||||
for i = 1, #sectionstack do
|
||||
for i = #sectionstack, 1, -1 do
|
||||
add("</section"..sectionstack[i]..">");
|
||||
end
|
||||
add("</xep>\n");
|
||||
|
Loading…
Reference in New Issue
Block a user