From: Rob Pike Date: Mon, 13 Feb 2012 03:34:30 +0000 (+1100) Subject: godoc: static ids should be #lowercase X-Git-Tag: weekly.2012-02-14~105 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=80e2472f87a00c0278da3a94c610ed284a16f7bb;p=gostls13.git godoc: static ids should be #lowercase so they don't collide with names like #Index. Fixes #2970. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5655066 --- diff --git a/lib/godoc/package.html b/lib/godoc/package.html index e0df513d6a..afb0d4ae1f 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -10,18 +10,18 @@
import "{{html .ImportPath}}"
-
Overview
-
Index
+
Overview
+
Index
{{if $.Dirs}}
Subdirectories
{{end}}
-

Overview

+

Overview

{{comment_html .Doc}} -

Index

+

Index

@@ -65,14 +65,14 @@
{{with .Consts}} -

Constants

+

Constants

{{range .}} {{comment_html .Doc}}
{{node_html .Decl $.FSet}}
{{end}} {{end}} {{with .Vars}} -

Variables

+

Variables

{{range .}} {{comment_html .Doc}}
{{node_html .Decl $.FSet}}
@@ -122,7 +122,7 @@ {{end}} {{with .Bugs}} -

Bugs

+

Bugs

{{range .}} {{comment_html .}} {{end}} @@ -145,7 +145,7 @@ {{with .Dirs}} {{/* DirList entries are numbers and strings - no need for FSet */}} -

Subdirectories

+

Subdirectories