summaryrefslogtreecommitdiff
path: root/sfeed_frames.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2017-08-12 13:10:43 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2017-08-12 13:10:43 +0200
commit8790e11d5088d29443ca22ea1fe623db0786f32a (patch)
treed153f3e0d7ed491bea17b4ae01be6ce9e3b9bb86 /sfeed_frames.c
parent68b559b084d7c765209c56b68a074f84aee39506 (diff)
add newline after </html>
Diffstat (limited to 'sfeed_frames.c')
-rw-r--r--sfeed_frames.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 5c7746e..7df8528 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -193,7 +193,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f)
printcontentxml(fields[FieldContent], fpcontent);
fputs("</pre>", fpcontent);
}
- fputs("</div></body></html>", fpcontent);
+ fputs("</div></body></html>\n", fpcontent);
/* set modified and access time of file to time of item. */
if (parsedtime) {
@@ -283,7 +283,7 @@ main(int argc, char *argv[])
fclose(fp);
}
}
- fputs("</pre>\n</div></body>\n</html>", fpitems); /* div items */
+ fputs("</pre>\n</div></body>\n</html>\n", fpitems); /* div items */
if (showsidebar) {
fputs("<html><head>"
@@ -307,7 +307,7 @@ main(int argc, char *argv[])
fputs("</u></b>", fpmenu);
fputs("</a><br/>\n", fpmenu);
}
- fputs("</div></body></html>", fpmenu);
+ fputs("</div></body></html>\n", fpmenu);
}
fputs("<!DOCTYPE html><html><head>\n\t<title>Newsfeed (", fpindex);
fprintf(fpindex, "%lu", totalnew);
@@ -325,7 +325,7 @@ main(int argc, char *argv[])
"\t\t<frame name=\"content\" target=\"content\">\n"
"\t</frameset>\n"
"</frameset>\n"
- "</html>", fpindex);
+ "</html>\n", fpindex);
fclose(fpitems);
fclose(fpmenu);