summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-11 12:04:28 +0000
committerLars Hjemli <hjemli@gmail.com>2007-11-11 12:04:28 +0000
commit2915483ef6c9c29ac1493e6945688bb62f7825b4 (patch)
tree3ee4afec27ec8cb0ad5e10008f3bd8c994747c39 /html.c
parentb4649fc90597910c89c3f37a6aec9af54d9f416b (diff)
downloadcgit-2915483ef6c9c29ac1493e6945688bb62f7825b4.tar
cgit-2915483ef6c9c29ac1493e6945688bb62f7825b4.tar.gz
cgit-2915483ef6c9c29ac1493e6945688bb62f7825b4.zip
Fix html error detected by test-suite
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 6c9cc8b..eb163d9 100644
--- a/html.c
+++ b/html.c
@@ -132,7 +132,7 @@ void html_option(char *value, char *text, char *selected_value)
html_attr(value);
html("'");
if (selected_value && !strcmp(selected_value, value))
- html(" selected");
+ html(" selected='selected'");
html(">");
html_txt(text);
html("</option>\n");