htls: Fixed HTML error.
authorFredrik Tolf <fredrik@dolda2000.com>
Wed, 1 Sep 2010 13:10:14 +0000 (15:10 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Wed, 1 Sep 2010 13:10:14 +0000 (15:10 +0200)
src/htls.c

index b514b83..f51da93 100644 (file)
@@ -84,7 +84,7 @@ static void head(char *name, struct charbuf *dst)
     if(stylesheet) {
        bprintf(dst, "<link rel=\"stylesheet\" type=\"text/css\" href=\"%s\" />\n", htmlquote(stylesheet));
     } else {
-       bprintf(dst, "<style>\n");
+       bprintf(dst, "<style type=\"text/css\">\n");
        bprintf(dst, "body {font-family: sans-serif; background: #eee;}\n");
        bprintf(dst, ".dirindex {background: white; padding: 1em; border: thin solid #ccc;}\n");
        bprintf(dst, ".dirindex table {border-collapse: collapse;}\n");