From: William A. Rowe Jr Date: Sun, 29 Jul 2001 21:24:51 +0000 (+0000) Subject: Correct a subtle reflow problem (evident in Mozilla Gecko/20010505) that X-Git-Tag: 2.0.23~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6575e586ae454f65a2dc06efc6eacdfbaf631dfa;p=thirdparty%2Fapache%2Fhttpd.git Correct a subtle reflow problem (evident in Mozilla Gecko/20010505) that
's within
 tags (entirely illegal in the first place :) are not
  adjusted on window resize.  By moving the second 
into the
  block, at least the two rules are consistent.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89769 13f79535-47bb-0310-9956-ffa450edef68
---

diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index bb22ace6095..5924cff6846 100644
--- a/modules/generators/mod_autoindex.c
+++ b/modules/generators/mod_autoindex.c
@@ -1361,7 +1361,7 @@ static void output_directories(struct ent **ar, int n,
             emit_link(r, "Description", K_DESC, keyid, direction,
                       static_columns);
 	}
-	ap_rputs("\n
\n", r); + ap_rputs("
", r); } else { ap_rputs("
    ", r); @@ -1459,7 +1459,7 @@ static void output_directories(struct ent **ar, int n, ap_rputc('\n', r); } if (autoindex_opts & FANCY_INDEXING) { - ap_rputs("
", r); + ap_rputs("
", r); } else { ap_rputs("", r); @@ -1645,9 +1645,6 @@ static int index_directory(request_rec *r, direction); apr_dir_close(thedir); - if (autoindex_opts & FANCY_INDEXING) { - ap_rputs("
\n", r); - } emit_tail(r, find_readme(autoindex_conf, r), autoindex_opts & SUPPRESS_PREAMBLE);