]> git.donarmstrong.com Git - bugscan.git/blobdiff - dohtml
add missing HTML closing tags
[bugscan.git] / dohtml
diff --git a/dohtml b/dohtml
index 8315a3820f38e66cc869f72032a82f51c7a3b0f2..07e5bb3809cb7c070692e071ebad04d1a3418dc8 100755 (executable)
--- a/dohtml
+++ b/dohtml
@@ -30,6 +30,13 @@ Please contact
 EOF
 }
 
+html_closing_tags() {
+       cat <<EOF
+</body>
+</html>
+EOF
+}
+
 realmakepage() {
        local   filter="$1"     # Distributions to list
        local   title="$2"      # Title of page
@@ -87,10 +94,7 @@ EOF
 
        html_page_creation_notice
 
-       cat <<EOF
-</body>
-</html>
-EOF
+       html_closing_tags
 }
 
 makemainpage() {
@@ -157,6 +161,8 @@ To receive all mails sent to release-critical bugs, subscribe to the
 mailing list.
 
 EOF
+
+       html_closing_tags
 }
 
 makepage() {