diff options
-rw-r--r-- | sfeed_frames.c | 8 | ||||
-rw-r--r-- | sfeed_html.c | 2 |
2 files changed, 5 insertions, 5 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); diff --git a/sfeed_html.c b/sfeed_html.c index e7d7221..9ddc44f 100644 --- a/sfeed_html.c +++ b/sfeed_html.c @@ -147,7 +147,7 @@ main(int argc, char *argv[]) fputs("\t\t</ul>\n\t</div>\n", stdout); } - fprintf(stdout, "\t</body>\n\t<title>Newsfeed (%lu)</title>\n</html>", + fprintf(stdout, "\t</body>\n\t<title>Newsfeed (%lu)</title>\n</html>\n", totalnew); return 0; |