close <ul> and <pre> at end of file
This commit is contained in:
parent
7a4cf173f9
commit
6f96dae334
2
g2e.awk
2
g2e.awk
|
@ -135,6 +135,8 @@ ARGIND==2 && FNR==1{
|
||||||
|
|
||||||
function finishfile(){
|
function finishfile(){
|
||||||
# finish writing the previous content file
|
# finish writing the previous content file
|
||||||
|
if(is_list){ append("</ul>"); is_list = 0 }
|
||||||
|
if(is_pre){ append("</pre>"); is_pre = 0 }
|
||||||
out = out "\t</main>\n </body>\n</html>"
|
out = out "\t</main>\n </body>\n</html>"
|
||||||
print out > nameout
|
print out > nameout
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue