X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/6e969fcfe897ed651145d5cadfc6764c2a6bce6d..e48dc0523b16c52691bda5324e5b294d67a25c70:/bk_xhtml.c diff --git a/bk_xhtml.c b/bk_xhtml.c index 439f9f9..aff20a3 100644 --- a/bk_xhtml.c +++ b/bk_xhtml.c @@ -844,13 +844,13 @@ static void xhtml_donavlinks(FILE *fp, xhtmlfile *file) if (xhtml_last_file==NULL) { fprintf(fp, "Previous | "); } else { - fprintf(fp, "Previous | ", xhtml_last_file->filename); + fprintf(fp, "Previous | ", xhtml_last_file->filename); } - fprintf(fp, "Contents | ", conf.contents_filename); + fprintf(fp, "Contents | ", conf.contents_filename); if (file == NULL) { fprintf(fp, "Index | "); } else { - fprintf(fp, "Index | ", conf.index_filename); + fprintf(fp, "Index | ", conf.index_filename); } if (file != NULL) { /* otherwise we're doing nav links for the index */ if (xhtml_next_file==NULL) @@ -864,10 +864,10 @@ static void xhtml_donavlinks(FILE *fp, xhtmlfile *file) if (file==NULL) { /* index, so no next file */ fprintf(fp, "Next "); } else { - fprintf(fp, "Next", conf.index_filename); + fprintf(fp, "Next", conf.index_filename); } } else { - fprintf(fp, "Next", xhtml_next_file->filename); + fprintf(fp, "Next", xhtml_next_file->filename); } fprintf(fp, "

\n"); } @@ -896,7 +896,7 @@ static void xhtml_do_index_body(FILE *fp) for (i=0; insection; i++) { xhtmlsection *sect = xi->sections[i]; if (sect) { - fprintf(fp, "", sect->file->filename, sect->fragment); + fprintf(fp, "", sect->file->filename, sect->fragment); if (sect->para->kwtext) { xhtml_para(fp, sect->para->kwtext, FALSE); } else if (sect->para->words) { @@ -1367,7 +1367,7 @@ static void xhtml_doheader(FILE *fp, word *title) { fprintf(fp, "\n"); - fprintf(fp, "\n\n\n"); + fprintf(fp, "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n\n<head>\n<title>"); if (title==NULL) fprintf(fp, "The thing with no name!"); else