stagit

static git page generator (mirror)
git clone git://git.2f30.org/stagit
Log | Files | Refs | README | LICENSE

commit 2b5004624599fdc6e289702a7c3626a96a1a99dd
parent ad22404903d25e126d97635b01cecb7be33bfd69
Author: lostd <lostd@2f30.org>
Date:   Wed, 20 Jan 2016 16:36:16 +0200

Use the recommended HTML5 document type.

Diffstat:
Mstagit-index.c | 2+-
Mstagit.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stagit-index.c b/stagit-index.c @@ -96,7 +96,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); diff --git 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);