From 6575e586ae454f65a2dc06efc6eacdfbaf631dfa Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Sun, 29 Jul 2001 21:24:51 +0000 Subject: [PATCH] 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
---
 modules/generators/mod_autoindex.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/generators/mod_autoindex.c b/modules/generators/mod_autoindex.c
index bb22ace609..5924cff684 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); -- 2.50.1