]> Cypherpunks repositories - gostls13.git/commitdiff
doc: correct some minor HTML errors found by tidy
authorRob Pike <r@golang.org>
Thu, 28 Feb 2013 21:32:36 +0000 (13:32 -0800)
committerRob Pike <r@golang.org>
Thu, 28 Feb 2013 21:32:36 +0000 (13:32 -0800)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/7439046

doc/contribute.html
doc/debugging_with_gdb.html
doc/go1.1.html
doc/go_spec.html

index 9d347fc0d7271c58e046437f8bdc85fd163f84e3..72c9364722cd5ae105d03c4c02bf852b050ec732 100644 (file)
@@ -293,7 +293,7 @@ run <code>hg change 99999</code>.
 
 <p>
 Alternatively, you can use
-<p/>
+</p>
 
 <pre>
 $ hg file 99999 somefile
index 4f1308adb7383705a145d09f7fa049d8f08c9991..b893f931a30208b623859b7f4e1017a38240db2d 100644 (file)
@@ -179,7 +179,7 @@ $ <b>gdb regexp.test -d $GOROOT</b>
 If for some reason GDB still can't find that directory or that script, you can load
 it by hand by telling gdb (assuming you have the go sources in
 <code>~/go/</code>):
-<p>
+</p>
 
 <pre>
 (gdb) <b>source ~/go/src/pkg/runtime/runtime-gdb.py</b>
index 1574ed805d9591eeac51013254372671da18952d..b7e8ee9f0510da79b9d54d04a654d19d8f2a1d8a 100644 (file)
@@ -131,7 +131,7 @@ to convert the code to Go 1.0 first.
 
 <h2 id="library">Changes to the standard library</h2>
 
-<h3 id="debug/elf">debug/elf</h3>
+<h3 id="debug_elf">debug/elf</h3>
 <p>
 Previous versions of the debug/elf package intentionally skipped over the first
 symbol in the ELF symbol table, since it is always an empty symbol. This symbol
@@ -141,7 +141,7 @@ calls the debug/elf functions Symbols or ImportedSymbols may need to be
 adjusted to account for the additional symbol and the change in symbol offsets.
 </p>
 
-<h3 id="html/template">html/template</h3>
+<h3 id="html_template">html/template</h3>
 
 <p>
 Templates using the undocumented and only partially implemented
index 66294c7a5ab78ef1cebecbc37ad51c93ce75d719..c5611cb1f78f9bfeaf5fdfdada11fdd698a2e152 100644 (file)
@@ -2637,7 +2637,7 @@ a[:]   // same as a[0 : len(a)]
 
 <p>
 For arrays or strings, the indices <code>low</code> and <code>high</code> are
-<i>in range</i> if <code>0 &lt;= <code>low</code> &lt;= <code>high</code> &lt;= len(a)</code>,
+<i>in range</i> if <code>0</code> &lt;= <code>low</code> &lt;= <code>high</code> &lt;= <code>len(a)</code>,
 otherwise they are <i>out of range</i>.
 For slices, the upper index bound is the slice capacity <code>cap(a)</code> rather than the length.
 A <a href="#Constants">constant</a> index must be non-negative and representable by a value of type