From 2b5004624599fdc6e289702a7c3626a96a1a99dd Mon Sep 17 00:00:00 2001 From: lostd Date: Wed, 20 Jan 2016 16:36:16 +0200 Subject: [PATCH] Use the recommended HTML5 document type. --- stagit-index.c | 2 +- stagit.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.30.2