View | Details | Raw Unified | Return to bug 23747
Collapse All | Expand All

(-)httpd-2.0.47/modules/generators/mod_autoindex-old.c (-7 / +7 lines)
Lines 1546-1552 Link Here
1546
                if (d->icon_height) {
1546
                if (d->icon_height) {
1547
                    ap_rprintf(r, " height=\"%d\"", d->icon_height);
1547
                    ap_rprintf(r, " height=\"%d\"", d->icon_height);
1548
                }
1548
                }
1549
                ap_rputs(" /></th>", r);
1549
                ap_rputs("></th>", r);
1550
            }
1550
            }
1551
            else {
1551
            else {
1552
                ap_rputs("&nbsp;</th>", r);
1552
                ap_rputs("&nbsp;</th>", r);
Lines 1578-1584 Link Here
1578
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1578
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1579
            breakrow = apr_psprintf(r->pool,
1579
            breakrow = apr_psprintf(r->pool,
1580
                                    "<tr><th colspan=\"%d\">"
1580
                                    "<tr><th colspan=\"%d\">"
1581
                                    "<hr /></th></tr>\n", cols);
1581
                                    "<hr></th></tr>\n", cols);
1582
        }
1582
        }
1583
        ap_rvputs(r, "</th></tr>", breakrow, NULL);
1583
        ap_rvputs(r, "</th></tr>", breakrow, NULL);
1584
    }
1584
    }
Lines 1594-1600 Link Here
1594
                if (d->icon_height) {
1594
                if (d->icon_height) {
1595
                    ap_rprintf(r, " height=\"%d\"", d->icon_height);
1595
                    ap_rprintf(r, " height=\"%d\"", d->icon_height);
1596
                }
1596
                }
1597
                ap_rputs(" /> ", r);
1597
                ap_rputs("> ", r);
1598
            }
1598
            }
1599
            else {
1599
            else {
1600
                ap_rputs("      ", r);
1600
                ap_rputs("      ", r);
Lines 1622-1628 Link Here
1622
                      colargs, static_columns);
1622
                      colargs, static_columns);
1623
        }
1623
        }
1624
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1624
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1625
            ap_rputs("<hr />", r);
1625
            ap_rputs("<hr>", r);
1626
        }
1626
        }
1627
        else {
1627
        else {
1628
            ap_rputc('\n', r);
1628
            ap_rputc('\n', r);
Lines 1667-1673 Link Here
1667
                    if (d->icon_height) {
1667
                    if (d->icon_height) {
1668
                        ap_rprintf(r, " height=\"%d\"", d->icon_height);
1668
                        ap_rprintf(r, " height=\"%d\"", d->icon_height);
1669
                    }
1669
                    }
1670
                    ap_rputs(" />", r);
1670
                    ap_rputs(">", r);
1671
                }
1671
                }
1672
                else {
1672
                else {
1673
                    ap_rputs("&nbsp;", r);
1673
                    ap_rputs("&nbsp;", r);
Lines 1753-1759 Link Here
1753
                    if (d->icon_height) {
1753
                    if (d->icon_height) {
1754
                        ap_rprintf(r, " height=\"%d\"", d->icon_height);
1754
                        ap_rprintf(r, " height=\"%d\"", d->icon_height);
1755
                    }
1755
                    }
1756
                    ap_rputs(" />", r);
1756
                    ap_rputs(">", r);
1757
                }
1757
                }
1758
                else {
1758
                else {
1759
                    ap_rputs("     ", r);
1759
                    ap_rputs("     ", r);
Lines 1820-1826 Link Here
1820
    }
1820
    }
1821
    else if (autoindex_opts & FANCY_INDEXING) {
1821
    else if (autoindex_opts & FANCY_INDEXING) {
1822
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1822
        if (!(autoindex_opts & SUPPRESS_RULES)) {
1823
            ap_rputs("<hr /></pre>\n", r);
1823
            ap_rputs("<hr></pre>\n", r);
1824
        }
1824
        }
1825
        else {
1825
        else {
1826
            ap_rputs("</pre>\n", r);
1826
            ap_rputs("</pre>\n", r);

Return to bug 23747