stagit

My fork of stagit

git clone git://git.shimmy1996.com/stagit.git
commit 300ac97e3544bb86237a81fea92a579e2140cdf3
parent c7cfc18b30bc984ac4e8e4bf9740bf3a37431a2c
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
@@ -342,7 +342,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));