1
0
Fork 0

Corrected closing body and html tags in webdoc

website
Mike Gerwitz 2012-05-07 23:50:24 -04:00
parent f057d648cc
commit d31fed33c0
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 3 additions and 2 deletions

View File

@ -70,6 +70,7 @@ webify()
s#</head>#<link type="text/css" rel="stylesheet" \
href="'$root'style.css" />\n&#;
s#highlight\.pack\.js#'$root'scripts/&#;
s#</body>#\n&#;
' "$docpath" \
| awk '
/<body>/ {
@ -80,11 +81,11 @@ webify()
" );
next
}
{ print }
/<\/body>/ {
system( "cat includes/footer.html" );
next
exit
}
{ print }
' \
> "$tmp"