]> git.cameronkatri.com Git - cgit.git/blobdiff - html.c
Fix html error detected by test-suite
[cgit.git] / html.c
diff --git a/html.c b/html.c
index 6c9cc8b67342b6df67dc35b586cbdb622612c5ca..eb163d9d1f3a249feb36ee155ab5a464ef4aa64a 100644 (file)
--- 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");