Commit 11296bb8 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

Remove useless <br \> in highlight blocks.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1741841 13f79535-47bb-0310-9956-ffa450edef68
parent 780f5ffe
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -56,10 +56,10 @@
    FileInfo.</p>

    <highlight language="config">
ErrorDocument 500 "Sorry, our script crashed. Oh dear"<br />
ErrorDocument 500 /cgi-bin/crash-recover<br />
ErrorDocument 500 http://error.example.com/server_error.html<br />
ErrorDocument 404 /errors/not_found.html <br />
ErrorDocument 500 "Sorry, our script crashed. Oh dear"
ErrorDocument 500 /cgi-bin/crash-recover
ErrorDocument 500 http://error.example.com/server_error.html
ErrorDocument 404 /errors/not_found.html
ErrorDocument 401 /subscription/how_to_subscribe.html
    </highlight>

@@ -147,8 +147,8 @@ ErrorDocument 401 /subscription/how_to_subscribe.html

       <highlight language="perl">
...
print  "Content-type: text/html\n"; <br />
printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
print  "Content-type: text/html\n";
printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"};
...
      </highlight>

@@ -175,7 +175,7 @@ printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
    <p>In your server configuration file, you'll see a line such as:</p>

    <highlight language="config">
    # Multi-language error messages<br />
# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf
    </highlight>

+5 −5
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ ret=ap_run_do_something(r, n);
      of the correct type:</p>

      <highlight language="c">
static int my_something_doer(request_rec *r, int n)<br />
static int my_something_doer(request_rec *r, int n)
{
    ...
    return OK;
+26 −27
Original line number Diff line number Diff line
@@ -122,12 +122,12 @@

    <example><title>How to handle an empty brigade</title>
    <highlight language="c">
    apr_status_t dummy_filter(ap_filter_t *f, apr_bucket_brigade *bb)<br />
apr_status_t dummy_filter(ap_filter_t *f, apr_bucket_brigade *bb)
{
    if (APR_BRIGADE_EMPTY(bb)) {
        return APR_SUCCESS;
    }
        ....
    ...
    </highlight>
    </example>

@@ -318,7 +318,6 @@ struct dummy_state {

apr_status_t dummy_filter(ap_filter_t *f, apr_bucket_brigade *bb)
{

    struct dummy_state *state;
    
    state = f->ctx;
@@ -330,7 +329,6 @@ apr_status_t dummy_filter(ap_filter_t *f, apr_bucket_brigade *bb)

        state->tmpbb = apr_brigade_create(f->r->pool, f->c->bucket_alloc);
        state->filter_state = ...;

    }
    ...
</highlight>
@@ -430,7 +428,8 @@ while ((e = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTINEL(bb)) {
        /* Retry, using a blocking read. */
        mode = APR_BLOCK_READ;
        continue;
    } else if (rv != APR_SUCCESS) {
    }
    else if (rv != APR_SUCCESS) {
        /* handle errors */
    }

+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ Options Includes
&lt;/Directory&gt;

&lt;Location "/"&gt;
    Options +IncludesNoExec -ExecCGI<br />
    Options +IncludesNoExec -ExecCGI
&lt;/Location&gt;
    </highlight>

+2 −2
Original line number Diff line number Diff line
@@ -136,7 +136,7 @@
    using a configuration like the following:</p>

    <highlight language="config">
      UserDir disabled<br />
UserDir disabled
UserDir enabled rbowen krietz
    </highlight>

Loading