diff --git a/Docs/src/bin/halibut/bk_xhtml.c b/Docs/src/bin/halibut/bk_xhtml.c index 8e1e97f0..95e41e20 100644 --- a/Docs/src/bin/halibut/bk_xhtml.c +++ b/Docs/src/bin/halibut/bk_xhtml.c @@ -903,22 +903,22 @@ static char *xhtml_index_filename = "IndexPage.html"; static void xhtml_donavlinks(FILE * fp, xhtmlfile * file) { xhtmlfile *xhtml_next_file = NULL; - fprintf(fp, "
", conf.nav_attrs); } else { - fprintf(fp, ">"); + fputs(">", fp); } if (xhtml_last_file == NULL) { - fprintf(fp, "Previous | "); + fputs("Previous | ", fp); } else { fprintf(fp, "Previous | ", xhtml_last_file->filename); } - fprintf(fp, "Contents | "); + fputs("Contents | ", fp); if (file != NULL) { /* otherwise we're doing nav links for the index */ if (xhtml_next_file == NULL) @@ -932,7 +932,7 @@ static void xhtml_donavlinks(FILE * fp, xhtmlfile * file) { if (file == NULL) { /* index, so no next file */ - fprintf(fp, "Next "); + fputs("Next ", fp); } else { fprintf(fp, "Next", xhtml_index_filename); @@ -941,7 +941,7 @@ static void xhtml_donavlinks(FILE * fp, xhtmlfile * file) { fprintf(fp, "Next", xhtml_next_file->filename); } - fprintf(fp, "
\n"); + fputs("\n", fp); } /* Write out the index file */ @@ -953,7 +953,7 @@ static void xhtml_do_index_body(FILE * fp) if (count234(idx->entries) == 0) return; /* don't write anything at all */ - fprintf(fp, ""); + fputs("
", fp); xhtml_hack_xhtmlify(p->words); xhtml_para(fp, p->words); - fprintf(fp, "
\n"); + fputs("\n", fp); } } for (p = sourceform; p; p = p->next) { if (p->type == para_Copyright) { - fprintf(fp, ""); + fputs("
", fp); xhtml_hack_xhtmlify(p->words); xhtml_para(fp, p->words); - fprintf(fp, "
\n"); + fputs("\n", fp); } } @@ -1137,7 +1137,7 @@ static void xhtml_do_top_file(xhtmlfile * file, paragraph * sourceform) */ if (conf.leaf_level == 0 && count234(idx->entries) > 0) { - fprintf(fp, ""); + fputs("\n
", fp); xhtml_para(fp, p->words); - fprintf(fp, "
\n"); + fputs("\n", fp); break; case para_Bullet: @@ -1430,30 +1430,30 @@ static void xhtml_do_paras(FILE * fp, paragraph * p) /* start up list if necessary */ if (p->type == para_Bullet) { - fprintf(fp, "