]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: fix HTML validation issues
authorTobias Klauser <tklauser@distanz.ch>
Mon, 20 Jun 2022 09:42:07 +0000 (11:42 +0200)
committerGopher Robot <gobot@golang.org>
Mon, 20 Jun 2022 18:39:08 +0000 (18:39 +0000)
Avoid duplicating tag ID runtime and remove a superflous </dd> tag.

Found by https://validator.w3.org

Change-Id: I9c84b8257acbb6d3d6817192bb8d355207944b9a
Reviewed-on: https://go-review.googlesource.com/c/go/+/413254
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>

doc/go1.19.html

index 50bc973c130d2c9bc37fd7a4b7b149446e07a538..4495c1d3e0e1ea20f2b71ba367b253f57196c502 100644 (file)
@@ -741,7 +741,7 @@ as well as support for rendering them to HTML, Markdown, and text.
   </dd>
 </dl><!-- regexp -->
 
-<dl id="runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
+<dl id="pkg-runtime"><dt><a href="/pkg/runtime/">runtime</a></dt>
   <dd>
     <p><!-- https://go.dev/issue/51461 -->
       The <a href="/pkg/runtime/#GOROOT"><code>GOROOT</code></a> function now returns the empty string
@@ -847,7 +847,6 @@ as well as support for rendering them to HTML, Markdown, and text.
       but often easier to use: it returns an additional boolean reporting whether an equal value was found.
     </p>
   </dd>
-  </dd>
 </dl><!-- sort -->
 
 <dl id="strconv"><dt><a href="/pkg/strconv/">strconv</a></dt>