]> granicus.if.org Git - apache/commitdiff
Minor quibble, <li> can and should be a balanced tag
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 28 Jul 2001 01:33:10 +0000 (01:33 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 28 Jul 2001 01:33:10 +0000 (01:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89754 13f79535-47bb-0310-9956-ffa450edef68

modules/generators/mod_autoindex.c
modules/mappers/mod_negotiation.c

index 2f6e88bfc83d620bea52f563354c449f06844438..bb22ace609514a6c7267576a6fbf5bbcb78ac987 100644 (file)
@@ -1453,8 +1453,8 @@ static void output_directories(struct ent **ar, int n,
            }
        }
        else {
-           ap_rvputs(r, "<li /><a href=\"", anchor, "\"> ", t2,
-                     "</a>", NULL);
+           ap_rvputs(r, "<li><a href=\"", anchor, "\"> ", t2,
+                        "</a></li>", NULL);
        }
        ap_rputc('\n', r);
     }
index ee3818b75db1615ed841b705d41ab61698c9fc4e..a54e25966837fdf3a5d9e8d8d76e6907913fa1f0 100644 (file)
@@ -2261,7 +2261,7 @@ static char *make_variant_list(request_rec *r, negotiation_state *neg)
          * Note that if you change the number of substrings pushed, you also
          * need to change the calculation of max_vlist_array above.
          */
-        *((const char **) apr_array_push(arr)) = "<li /><a href=\"";
+        *((const char **) apr_array_push(arr)) = "<li><a href=\"";
         *((const char **) apr_array_push(arr)) = filename;
         *((const char **) apr_array_push(arr)) = "\">";
         *((const char **) apr_array_push(arr)) = filename;
@@ -2285,7 +2285,7 @@ static char *make_variant_list(request_rec *r, negotiation_state *neg)
             *((const char **) apr_array_push(arr)) = ", encoding ";
             *((const char **) apr_array_push(arr)) = variant->content_encoding;
         }
-        *((const char **) apr_array_push(arr)) = "\n";
+        *((const char **) apr_array_push(arr)) = "</li>\n";
     }
     *((const char **) apr_array_push(arr)) = "</ul>\n";