git » stagit-fork.git » commit 92cee02

also remove language and text direction attribute from <html>

author Hiltjo Posthuma
2016-11-09 17:28:46 UTC
committer Hiltjo Posthuma
2016-11-09 17:28:46 UTC
parent 9e96062b620088a42c7b345e07cc8c12e2b59ed2

also remove language and text direction attribute from <html>

stagit.c +1 -1

diff --git a/stagit.c b/stagit.c
index 3b8913f..b2b7268 100644
--- a/stagit.c
+++ b/stagit.c
@@ -329,7 +329,7 @@ void
 writeheader(FILE *fp, const char *title)
 {
 	fputs("<!DOCTYPE html>\n"
-		"<html dir=\"ltr\" lang=\"en\">\n<head>\n"
+		"<html>\n<head>\n"
 		"<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n"
 		"<title>", fp);
 	xmlencode(fp, title, strlen(title));