From: Stéphane Aulery Date: Fri, 28 Nov 2014 16:17:48 +0000 (-0300) Subject: html: various fixes X-Git-Tag: upstream/0.6.1~2^2~5 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=6e550af8a907a680dc845c22a7d6c36d89e900c1;p=pkg%2Fabook.git html: various fixes - html5 doctype - CSS in a \n"); + fprintf(out, "\n"); + fprintf(out, "\n"); + fprintf(out, "

"); + fprintf(out, _("%s's addressbook"), realname); + fprintf(out, "

\n"); + + fprintf(out, "\n"); + fprintf(out, "\n"); + fprintf(out, " \n"); for(cur = index_elements; cur; cur = cur->next) { if(cur->type != INDEX_FIELD) continue; get_field_info(cur->d.field.id, NULL, &str, NULL); - fprintf(out, "", str); + + fprintf(out, " \n"); } - fprintf(out, "\n\n"); + fprintf(out, " \n"); + fprintf(out, "\n"); + fprintf(out, "\n"); free(realname); } @@ -1122,8 +1148,9 @@ html_export_write_head(FILE *out) static void html_export_write_tail(FILE *out) { - fprintf(out, "\n
%s"); + + if (strcmp(str, "") == 0) + fprintf(out, " "); + else + fprintf(out, "%s", str); + + fprintf(out, "
\n"); - fprintf(out, "\n\n\n"); + fprintf(out, "\n"); + fprintf(out, "\n"); + fprintf(out, ""); } /*