]> git.armaanb.net Git - stagit.git/commitdiff
also remove language and text direction attribute from <html>
authorHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 9 Nov 2016 17:28:46 +0000 (18:28 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 9 Nov 2016 17:28:46 +0000 (18:28 +0100)
stagit.c

index 3b8913f8aef6407b3cade30e040d54106b576410..b2b726853bdc76e5130507c8304d5b949a07188e 100644 (file)
--- 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));