From: lostd Date: Wed, 20 Jan 2016 14:36:16 +0000 (+0200) Subject: Use the recommended HTML5 document type. X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=2b5004624599fdc6e289702a7c3626a96a1a99dd;p=forks%2Fstagit.git Use the recommended HTML5 document type. --- diff --git a/stagit-index.c b/stagit-index.c index 00f7329..8f8ffc2 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -96,7 +96,7 @@ printtimeshort(FILE *fp, const git_time *intime) int writeheader(FILE *fp) { - fputs("" + fputs("\n" "\n\n" "\n" "\n", fp); diff --git a/stagit.c b/stagit.c index 053ca4a..173ac4c 100644 --- a/stagit.c +++ b/stagit.c @@ -237,7 +237,7 @@ printtimeshort(FILE *fp, const git_time *intime) int writeheader(FILE *fp) { - fputs("<!DOCTYPE HTML>" + fputs("<!DOCTYPE html>\n" "<html dir=\"ltr\" lang=\"en\">\n<head>\n" "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n" "<meta http-equiv=\"Content-Language\" content=\"en\" />\n<title>", fp);