Dolda2000 GitWeb
/
ashd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e05e98
)
htls: Fixed HTML error.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 1 Sep 2010 13:10:14 +0000
(15:10 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 1 Sep 2010 13:10:14 +0000
(15:10 +0200)
src/htls.c
patch
|
blob
|
blame
|
history
diff --git
a/src/htls.c
b/src/htls.c
index
b514b83
..
f51da93
100644
(file)
--- a/
src/htls.c
+++ b/
src/htls.c
@@
-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");