stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit fab82352bd4b124cd0a056d91c186a6d7fcd6851
parent 95171792b6fafb8ee50f5f9f31817d46a99356ce
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sat,  4 Apr 2020 13:38:25 -0500

Add lang attribute

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
@@ -66,7 +66,7 @@ void
 writeheader(FILE *fp)
 {
 	fputs("<!DOCTYPE html>\n"
-		"<html>\n<head>\n"
+		"<html lang=en>\n<head>\n"
 		"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n"
 		"<title>", fp);
 	xmlencode(fp, title, strlen(title));
diff --git a/stagit.c b/stagit.c
@@ -446,7 +446,7 @@ void
 writeheader(FILE *fp, const char *title)
 {
 	fputs("<!DOCTYPE html>\n"
-		"<html>\n<head>\n"
+		"<html lang=en>\n<head>\n"
 		"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n"
 		"<title>", fp);
 	xmlencode(fp, title, strlen(title));