]> git.armaanb.net Git - stagit.git/commitdiff
Use the recommended HTML5 document type.
authorlostd <lostd@2f30.org>
Wed, 20 Jan 2016 14:36:16 +0000 (16:36 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Fri, 26 Feb 2016 18:57:15 +0000 (19:57 +0100)
stagit-index.c
stagit.c

index 00f73293beb74a16593156c05a4913b5c395d7d3..8f8ffc203e7edce29b06570e3542396356254136 100644 (file)
@@ -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);
index 053ca4a0d4cad0d821fe125d0bd6ddc240ccf739..173ac4cb45f53bb328502c9f5f3797937fe09caf 100644 (file)
--- 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);