Use the recommended HTML5 document type. - stagit-gopher - A git gopher fronten… | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 2b5004624599fdc6e289702a7c3626a96a1a99dd | |
parent ad22404903d25e126d97635b01cecb7be33bfd69 | |
Author: lostd <[email protected]> | |
Date: Wed, 20 Jan 2016 16:36:16 +0200 | |
Use the recommended HTML5 document type. | |
Diffstat: | |
M stagit-index.c | 2 +- | |
M stagit.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; charse… | |
"<meta http-equiv=\"Content-Language\" content=\"en\" />\n<tit… | |
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; charse… | |
"<meta http-equiv=\"Content-Language\" content=\"en\" />\n<tit… |