summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2016-01-06 19:59:55 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-01-06 20:06:06 +0100
commitdb02820a175c43cf1c225928bc09dd3fd5d93d71 (patch)
tree8cad3c8acaf2ab2a9bca810f4deca95c6f6caf30
parent73f259f2557698a83c9fb7e11938feb775740741 (diff)
extra whitespace
-rw-r--r--stagit-index.c2
-rw-r--r--stagit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/stagit-index.c b/stagit-index.c
index 9c31bd7..e765732 100644
--- a/stagit-index.c
+++ b/stagit-index.c
@@ -107,7 +107,7 @@ writeheader(FILE *fp)
fprintf(fp, "<table>\n<tr><td><img src=\"%slogo.png\" alt=\"\" width=\"32\" height=\"32\" /></td>\n"
"<td><h1>%s</h1><span class=\"desc\">%s</span></td></tr><tr><td></td><td>\n",
relpath, name, description);
- fputs("</td></tr>\n</table>\n<hr/><div id=\"content\">\n"
+ fputs("</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n"
"<table id=\"index\"><thead>\n"
"<tr><td>Name</td><td>Description</td><td>Owner</td><td>Last commit</td></tr>"
"</thead><tbody>\n", fp);
diff --git a/stagit.c b/stagit.c
index 5bef865..7cab210 100644
--- a/stagit.c
+++ b/stagit.c
@@ -270,7 +270,7 @@ writeheader(FILE *fp)
fprintf(fp, " | <a href=\"%sfile/README.html\">README</a>", relpath);
if (haslicense)
fprintf(fp, " | <a href=\"%sfile/LICENSE.html\">LICENSE</a>", relpath);
- fputs("</td></tr></table>\n<hr/><div id=\"content\">\n", fp);
+ fputs("</td></tr></table>\n<hr/>\n<div id=\"content\">\n", fp);
return 0;
}
@@ -278,7 +278,7 @@ writeheader(FILE *fp)
int
writefooter(FILE *fp)
{
- return !fputs("</div></body>\n</html>", fp);
+ return !fputs("</div>\n</body>\n</html>\n", fp);
}
void