You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rp...@apache.org on 2007/11/29 22:48:18 UTC
svn commit: r599589 - /httpd/httpd/trunk/modules/generators/mod_autoindex.c
Author: rpluem
Date: Thu Nov 29 13:48:18 2007
New Revision: 599589
URL: http://svn.apache.org/viewvc?rev=599589&view=rev
Log:
* Detabify and make spacing in HTML code the same as before r593816. This
avoids that the autoindex test (t/modules/autoindex) fails. Adjusting
the autoindex test would cause it to fail with older versions and would
make it harder to recognize regressions.
Modified:
httpd/httpd/trunk/modules/generators/mod_autoindex.c
Modified: httpd/httpd/trunk/modules/generators/mod_autoindex.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/generators/mod_autoindex.c?rev=599589&r1=599588&r2=599589&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/mod_autoindex.c (original)
+++ httpd/httpd/trunk/modules/generators/mod_autoindex.c Thu Nov 29 13:48:18 2007
@@ -162,14 +162,14 @@
if (xhtml) {
ap_rvputs(r, DOCTYPE_XHTML_1_0T,
- "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
- "<head>\n <title>Index of ", title,
- "</title>\n", NULL);
+ "<html xmlns=\"http://www.w3.org/1999/xhtml\">\n"
+ " <head>\n <title>Index of ", title,
+ "</title>\n", NULL);
} else {
ap_rvputs(r, DOCTYPE_HTML_3_2,
- "<html>\n <head>\n"
- "<title>Index of ", title,
- "</title>\n", NULL);
+ "<html>\n <head>\n"
+ " <title>Index of ", title,
+ "</title>\n", NULL);
}
if (d->style_sheet != NULL) {