httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/generators mod_autoindex.c
Date Sun, 29 Jul 2001 21:24:52 GMT
wrowe       01/07/29 14:24:52

  Modified:    modules/generators mod_autoindex.c
  Log:
    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.
  
  Revision  Changes    Path
  1.72      +2 -5      httpd-2.0/modules/generators/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/generators/mod_autoindex.c,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -r1.71 -r1.72
  --- mod_autoindex.c	2001/07/28 01:33:10	1.71
  +++ mod_autoindex.c	2001/07/29 21:24:51	1.72
  @@ -1361,7 +1361,7 @@
               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 @@
   	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 @@
   		       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);
   
  
  
  

Mime
View raw message