logo

stagit

STAtic GIT web view generator (in C) git clone https://hacktivis.me/git/stagit.git
commit: 9e96062b620088a42c7b345e07cc8c12e2b59ed2
parent 300a2495c63bfcaa0a14a86b79506c73154f632f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  9 Nov 2016 17:49:38 +0100

remove Content-Language: en

thanks Aymeric Mansoux!

Diffstat:

Mstagit.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stagit.c b/stagit.c @@ -331,7 +331,7 @@ writeheader(FILE *fp, const char *title) 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); + "<title>", fp); xmlencode(fp, title, strlen(title)); if (title[0] && strippedname[0]) fputs(" - ", fp);