Commit 8cb9f878 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Correct a subtle reflow problem (evident in Mozilla Gecko/20010505) that
  <hr>'s within <pre> tags (entirely illegal in the first place :) are not
  adjusted on window resize.  By moving the second <hr /> into the <pre>
  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
parent 55bac359
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -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<hr />\n", r);
	ap_rputs("<hr />", r);
    }
    else {
	ap_rputs("<ul>", 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("</pre>", r);
	ap_rputs("<hr /></pre>", r);
    }
    else {
	ap_rputs("</ul>", r);
@@ -1645,9 +1645,6 @@ static int index_directory(request_rec *r,
		       direction);
    apr_dir_close(thedir);

    if (autoindex_opts & FANCY_INDEXING) {
	ap_rputs("<hr />\n", r);
    }
    emit_tail(r, find_readme(autoindex_conf, r),
	      autoindex_opts & SUPPRESS_PREAMBLE);