diff options
author | Gervase Markham <gerv@gerv.net> | 2014-01-27 16:08:01 +0100 |
---|---|---|
committer | Gervase Markham <gerv@mozilla.org> | 2014-01-27 16:08:01 +0100 |
commit | bce648342fa487a9afba9124b1db402678f0d67f (patch) | |
tree | 6563dc1f3f391b7069caa740ae99989f85a1ec20 /docs/en/rst/troubleshooting.rst | |
parent | 10cc520ecb23683b3ae83a817e4457bc2fdc01fb (diff) | |
download | bugzilla-bce648342fa487a9afba9124b1db402678f0d67f.tar.gz bugzilla-bce648342fa487a9afba9124b1db402678f0d67f.tar.xz |
Bug 962571 - Fix syntax highlighting of code blocks. r=LpSolit, a=justdave.
Diffstat (limited to 'docs/en/rst/troubleshooting.rst')
-rw-r--r-- | docs/en/rst/troubleshooting.rst | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/docs/en/rst/troubleshooting.rst b/docs/en/rst/troubleshooting.rst index 26899bc57..64b9263a4 100644 --- a/docs/en/rst/troubleshooting.rst +++ b/docs/en/rst/troubleshooting.rst @@ -1,4 +1,4 @@ - +.. highlight:: console .. _troubleshooting: @@ -55,7 +55,7 @@ Bugzilla. :: - bash$ ./testserver.pl http://landfill.bugzilla.org/bugzilla-tip + $ ./testserver.pl http://landfill.bugzilla.org/bugzilla-tip TEST-OK Webserver is running under group id in $webservergroup. TEST-OK Got ant picture. TEST-OK Webserver is executing CGIs. @@ -97,23 +97,27 @@ To fix this, go to :file:`<path-to-perl>/lib/DBD/sponge.pm` in your Perl installation and replace -:: +.. code-block:: perl my $numFields; if ($attribs->{'NUM_OF_FIELDS'}) { - $numFields = $attribs->{'NUM_OF_FIELDS'}; - } elsif ($attribs->{'NAME'}) { - $numFields = @{$attribs->{NAME}}; + $numFields = $attribs->{'NUM_OF_FIELDS'}; + } + elsif ($attribs->{'NAME'}) { + $numFields = @{$attribs->{NAME}}; + } with -:: +.. code-block:: perl my $numFields; if ($attribs->{'NUM_OF_FIELDS'}) { - $numFields = $attribs->{'NUM_OF_FIELDS'}; - } elsif ($attribs->{'NAMES'}) { - $numFields = @{$attribs->{NAMES}}; + $numFields = $attribs->{'NUM_OF_FIELDS'}; + } + elsif ($attribs->{'NAMES'}) { + $numFields = @{$attribs->{NAMES}}; + } (note the S added to NAME.) |