diff --git a/lib/godoc/example.html b/lib/godoc/example.html index 7badbb6fad..7af943172b 100644 --- a/lib/godoc/example.html +++ b/lib/godoc/example.html @@ -5,10 +5,10 @@

▾ Example

Code:

-

{{.Code}}

+
{{.Code}}
{{if .Output}}

Output:

-

{{html .Output}}

+
{{html .Output}}
{{end}}
diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 1286f6eff4..34ca3b629f 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -51,8 +51,8 @@ {{comment_html .Doc}} {{if $.IsPkg}} {{with .Filenames}} -

Package files

+

{{range .}} {{.|filename|html}} @@ -88,7 +88,7 @@ {{$tname_html := node_html .Type.Name $.FSet}}

type {{$tname_html}}

{{comment_html .Doc}} -

{{node_html .Decl $.FSet}}

+
{{node_html .Decl $.FSet}}
{{range .Consts}} {{comment_html .Doc}}
{{node_html .Decl $.FSet}}