Corrected closing body and html tags in webdoc
parent
f057d648cc
commit
d31fed33c0
|
@ -70,6 +70,7 @@ webify()
|
||||||
s#</head>#<link type="text/css" rel="stylesheet" \
|
s#</head>#<link type="text/css" rel="stylesheet" \
|
||||||
href="'$root'style.css" />\n&#;
|
href="'$root'style.css" />\n&#;
|
||||||
s#highlight\.pack\.js#'$root'scripts/&#;
|
s#highlight\.pack\.js#'$root'scripts/&#;
|
||||||
|
s#</body>#\n&#;
|
||||||
' "$docpath" \
|
' "$docpath" \
|
||||||
| awk '
|
| awk '
|
||||||
/<body>/ {
|
/<body>/ {
|
||||||
|
@ -80,11 +81,11 @@ webify()
|
||||||
" );
|
" );
|
||||||
next
|
next
|
||||||
}
|
}
|
||||||
{ print }
|
|
||||||
/<\/body>/ {
|
/<\/body>/ {
|
||||||
system( "cat includes/footer.html" );
|
system( "cat includes/footer.html" );
|
||||||
next
|
exit
|
||||||
}
|
}
|
||||||
|
{ print }
|
||||||
' \
|
' \
|
||||||
> "$tmp"
|
> "$tmp"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue