Fix html error detected by test-suite

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2007-11-11 13:04:28 +01:00
parent b4649fc905
commit 2915483ef6
11 changed files with 37 additions and 27 deletions

2
html.c
View file

@ -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");